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
Zinaida [17]
1 year ago
5

pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day.

Computers and Technology
1 answer:
crimeas [40]1 year ago
4 0

A pseudocode for a software program that allows this user to enter a value for hours worked in a day is as follows:

START

input hours_WorkedDay

hours_WorkedWeek = hours_WorkedDay * 5

hours_WorkedYear = hours_WorkedDay * 252

output hours_WorkedWeek

output hours_WorkedYear

STOP

<h3>What is an algorithm?</h3>

An algorithm can be defined as a standard formula which comprises a set of finite steps and instructions that must be executed by a software program, in order to proffer solutions to a problem on a computer, under appropriate conditions.

         

<h3>What is a pseudocode?</h3>

A pseudocode can be defined as a description of the steps that are contained in an algorithm, especially through the use of a plain (natural) language.

A pseudocode for a software program that allows this user to enter a value for hours worked in a day is as follows:

START

input hours_WorkedDay

hours_WorkedWeek = hours_WorkedDay * 5

hours_WorkedYear = hours_WorkedDay * 252

output hours_WorkedWeek

output hours_WorkedYear

STOP

Read more on pseudocode here: brainly.com/question/13208346

#SPJ1

Complete Question:

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.

You might be interested in
When all the input has been read, your program should produce a summary report that includes a list of all the tokens that appea
hichkok12 [17]

Answer:

I dont understand this, what is the question?

5 0
3 years ago
You have installed a streaming video service on your network. You want selected hosts to be able to access this service via a dy
vitfil [10]

You can add the MAC addresses of hosts that you want to allow the access in a database, if you are working on a large scale, and then compare the MAC address of the user in you network wall and allow th users that are allowed.

Or if you are working on a small scale then in your program you can save the MAC in an array or model class and compare when the user will access.

6 0
3 years ago
Is Microsoft Publisher a desktop publishing app?
ladessa [460]

Answer:

yes

Explanation:

Publisher is a desktop publishing application that helps you create visually rich, professional-looking publications. With Publisher on your PC, you can: Lay out content for a print or online publication in a variety of pre-designed templates.

3 0
3 years ago
Read 2 more answers
Assume that an array of integers named a that contains exactly five elements has been declared and initialized. Write a single s
Alik [6]

array[0] = 2 * array[4];

5 0
3 years ago
Write a c++ program to input basic salary of an employee and calculate its Gross salary according to following
GREYUIT [131]
<h2>\large\bold{\underline{\underline{Program :}}}</h2>

#include<iostream>

using namespace std;

int main ()

{

float basic, gross, da, hra;

cout<<"Enter basic salary of an employee:";

cin>>basic;

if (basic <25000)

{

da = basic *80/100;

hra = basic *20/100;

}

else if (basic >=25000 & & basic<40000)

{

da = basic *90/100;

hra = basic *25/100;

}

else if (basic>=40000)

{

da = basic *95/100;

hra = basic *30/100;

}

gross = basic + hra + da;

cout<<"\n\t Basic Pay............" <<basic<<endl;

cout<<"\t Dearness Allowance..........." <<da<<endl;

cout<<"\t House Rent Allowance......" <<hra<<endl;

cout<<"\t Gross Salary............." <<gross<<endl;

cout<<"\t - - - - - - - - - - - - - - -" <<endl;

<h2>\large\bold{\underline{\underline{Output :}}}</h2>

Enter Basic Salary of an employee : 25000

Basic Pay : 25000

Dearness Allowance : 22500

House Rent Allowance : 6250

Gross Salary : 53750

<h2>\large\bold{\underline{\underline{Result :}}}</h2>

<h3>The Expected Output is archived</h3>
7 0
2 years ago
Other questions:
  • (a) Show how to use (the Boolean formula satisfiability program) satisfiable num (and substitute) to find a satisfying assignmen
    9·1 answer
  • Which process is used to protect transmitted data in a vpn?
    12·1 answer
  • 1. Science is the body of knowledge and methods produced by engineering.
    6·1 answer
  • Who wants to talk? I am willing to talk to anyone! I AM SO BORED!!
    13·2 answers
  • What is the name of the unique identifier assigned to any personal computer that is connected to the internet?
    11·1 answer
  • What is the purpose of creating a primary key in a database
    14·1 answer
  • Discuss the technologies that implements an infrastructure for component communication
    7·1 answer
  • content from other sources can be embedded into it linked to a photoshop document from another source
    14·1 answer
  • If you are using a sprite for your MakeCode Arcade game, which code block
    7·2 answers
  • What practice makes it virtually impossible to figure out the geographic location of a company?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!