1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
qwelly [4]
3 years ago
8

Using Word, write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day

. The program calculates the hours worked in a five-day week and the hours worked in a 252-day work year. The program outputs all the results.
Computers and Technology
1 answer:
Alexandra [31]3 years ago
7 0

Answer:

//Here is PSEUDO CODE.

1. Declare variable "hour_day".

   1.1 read the hour worked in a day and assign it to variable "hour_day".

2. Calculate the hours worked in a five day week.

   2.1 work_week=5*hour_day.

3. Calculate the hours worked in 252 days year.

   3.1 work_year=252*hour_day

4.  print the value of work_week and work_year.

5.  End the program.

//Here is code in c++.

#include <bits/stdc++.h>

using namespace std;

int main() {

double hour;

cout<<"enter the hours worked in a day:";

cin>>hour;

double work_week=5*hour;

double work_year=252*hour;

cout<<"work in a 5-day week: "<<work_week<<"hours"<<endl;

cout<<"work in a 252-day year: "<<work_year<<"hours"<<endl;

return 0;

}

Output:

enter the hours worked in a day:6.5

work in a 5-day week: 32.5 hours

work in a 252-day year: 1638 hours

You might be interested in
Anyone understand coding? Please Help! Thank you! :)
Damm [24]
Coding is like doing somethin i already know but look u can search it up in Google trust me
7 0
4 years ago
How can you print a mailing label in word
Mashutka [201]

You would type up the address. I don't know how you would print it and it stick to envelope. If you explain more I can help

5 0
3 years ago
Real life example of hexadecimal and octal decimal “for example in binary light switch”
umka2103 [35]

Answer:

No results found for Real life example of hexadecimal and octal decimal “for example in binary light switch”.

Explanation:

gm

7 0
2 years ago
Sftp uses which mechanism to provide security for authentication and data transfer?
12345 [234]

Sftp uses SSH mechanism to provide security for authentication and data transfer.

<h3>What are SSH known for?</h3>

SSH or Secure Shell is known to be a kind of a network communication protocol that helps two computers to be able to communicate and also  share their data.

Therefore, one can say that Sftp uses SSH mechanism to provide security for authentication and data transfer.

Learn more about  SSH mechanism from

brainly.com/question/13086077

#SPJ12

3 0
2 years ago
18) What is masking in Flash?
sammy [17]

Answer:

Ok thanks, I guess?

..............

6 0
3 years ago
Other questions:
  • If you use the ___ template, as opposed to a formatted theme, you must make all design decisions?
    15·1 answer
  • has anyone noticed that brainly has been giving the wrong answers and that the ads are blocking answers or is that just me?
    7·2 answers
  • Using the drop-down menus, correctly complete the sentences.
    5·2 answers
  • What is cyber stalking and how does it work?
    7·2 answers
  • Why are fixed resistors’ values indicated by color bands rather than printing the numeric value on their exterior?
    13·1 answer
  • (Please select 2)
    14·1 answer
  • Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 19
    11·1 answer
  • Which two components are configured via software in order for a PC to participate in a network environment
    5·1 answer
  • What's the best thing that's happened to you during quarantine?
    10·2 answers
  • i was wondering if anybody would have a season 1 or 2 or 3 Fortnight account they never use and was gonna ask if i could play on
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!