1. Payroll Program with Input Validation Design a payroll program that prompts the user to enter an employee's hourly pay rate and the number of hours worked. Validate the user's input so that only pay rates in the range of $7.50 through $18.25 and hours in the range of 0 through 40 are accepted. The program should display the employee's gross pay.

Answers

Answer 1

The payroll program that prompts the user to enter an employee's hourly pay rate and the number of hours worked is made with the help of Do While loop.

What is Program?

A sequence or set of instructions written in a programming language for a computer to follow is called a computer program. Software includes documentation and other intangible components in addition to computer programs. Source code is the human-readable version of a computer program. Because computers can only execute their own native machine instructions, source code must be executed by another computer program.

Given to make a payroll program,

Program is made with Do While loop,

A condition and a process symbol make up the do while construct. First, the block's code is executed. After that, the situation is looked at. The block's code is executed once more if the condition is met. This continues until the condition is true.

The program code is,

Do While payRate > 7.5 AND payRate < 18.25

Display "Enter hourly pay rate: "

Input payRate

End While

Do While hoursWorked > 0 AND hoursWorked < 40

Display "Enter number of hours worked: "

Input hoursWorked

End While

grossPay = payRate * hoursWorked

Display "The employee gross pay is " + grossPay

Hence code is as follows.

Learn more about program;

https://brainly.com/question/11023419

#SPJ4


Related Questions

What are PowerPoint, word, and paint?

Answers

Answer:

Powerpoint is a paid app used to make presentations, word is another paid app mainly used to make letters, paint is an app where you can draw things, you dont need to pay a subscription for this.

Explanation:

. Which of the following refers to the informal rules for how to behave online? A.
Internet manners (IM)
B.profile
C.user control
D.netiquette​

Answers

Answer:

D.netiquette

hope it is helpful to you

Answer: D

Explanation:

Hope this answer helps your grade!

nadine is the systems administrator for a network with a single subnet. The subnet uses 192.168.1.0 with a mask of 255.255.255.0. The network has 10 servers running Windows Server. Srv1 currently provides both DHCP and DNS services. Nadine wants to increase the fault tolerance for her DHCP servers. She installs a new server, Srv11, and configures it for DHCP. She configures a scope on Srv11 to match the scope on Srv1 and then excludes half of the addresses in the scope on Srv1 and the other half of the addresses on the Srv11. Nadine decides to test her solution and shuts down Srv1. As a test, she forces a workstation to release its IP address and request a new one. She finds that the workstation has the IP address 169.254.0.15 with a mask of 255.255.0.0. What should Nadine do to fix the problem?

Answers

Answer:

Authorize Srv11

Explanation:

In order to fix this problem, Nadine should Authorize Srv11. The problem is most likely being caused due to failure of authorization of the server. This would prevent this server from being on the same scope as Srv1 and therefore, it is why the IPaddress being given is different. DHCP is an automatic protocol and would not be able to provide an IP address in the same scope if the server is not Authorized to do so.

HURRY HURRY
HURRY HURRY

when designing a website whom do you need to consider

a. individuals
b. yourself
c. site owner
d. reviewer

Answers

Answer:

reviewer

Explanation: cause they will be the ones using the website

Identify two way in which ICT has impacted the education sector. *​

Answers

Answer:

ICT has made learning easy and has also increased the reach of education

Explanation:

Two major impact of ICT on education sector are as follows -

a) ICT has made learning easy. They can now visualize the concept which were earlier taught through books. Now a days teacher uses ICT component such as computers, projectors and printers to teach with pictures and videos

b) It has increased the reach of education. Anyone with a computer/laptop anywhere can study through online classes.

Professional communication must be objective,
, and unemotional.

technical

informal

rational

Answers

it’s between technical and rational

Answer:

rational

Explanation:

HURRY GUYS I GOT 3 QUESTIONS LEFT
IM TIMED!!!!!

Which element should be used only when the content simply references the element
a. nav
b. figure
c. hgroup
d. article

Answers

the answer is b i believe

The element that should be used only when the content simply references the element is figure. The correct option is B.

What is element of referencing?

The four components of the author, date, source, and title are all included in reference list entries.

There are four referencing conventions that are frequently used. They go by the names of the Modern Languages Association (MLA), American Psychological Association (APA), Harvard, and Modern Humanities Research Association (MHRA) systems.

In computer programming, a reference is a value that allows a program to access a particular piece of data indirectly, such as the value of a variable or a record, in the computer's memory or in another storage location.

As a result, accessing the data is referred to as dereferencing the reference, and the data is referred to as the reference's referent.

Thus, the correct option is B.

For more details regarding elements of referencing, visit:

https://brainly.com/question/28270502

#SPJ2

Write qbasic program to input length in centimeter and calculate its length in meter​

Answers

Answer:

INPUT ”Enter length in centimetres” ; C

C = M / 10                                                                   //divide by 10

PRINT “ Length in metres is ”; M

END          

Explanation:

According to the video, which tasks do Police Patrol Officers perform? Select all that apply.
providing legal advice
helping lost children
cleaning up hazardous materials
O supervising workers in prisons
enforcing traffic laws
o completing paperwork

Answers

Answer:

The answer is B, E, and F

Explanation:

Based on the video, the  tasks do Police Patrol Officers perform are:

Helping lost children. Enforcing traffic laws. Completing paperwork..

What is the work of police in patrol?

Due to advances in technology and the society, work, etc., the reason of patrol is known to be the same as always. They serve to:

The protection of property and lives.The prevention and also detecting crime.Carrying out other services.

Learn more about Police from

https://brainly.com/question/26085524

What file format would be required a coworker need to edit a layer in a photoshop file 
-png
-psd
-pdf
-jpeg

Answers

psd, others can’t save photoshop data, only the image as a whole

1. Let’s assume you have a folder named “stuff” and you wish to make “stuff” readable and writable for the owner, readable by groups and others, how would you do this?



2. Interpret these permissions: dr-xrw--w-

Owner:

Group:

Other:

Answers

Answer:

it is owner

Explanation:

This tool lets you insert text anywhere in your document. O Cut О сору O Drag O Paste​

Answers

Answer:

Drag or paste (im not 100% sure tho)

Explanation:

Difference between Hollerith and Burroughs machine​

Answers

Explanation:

The tabulating machine was an electromechanical machine designed to assist in summarizing information stored on punched cards. Invented by Herman Hollerith, the machine was developed to help process data for the 1890 U.S. Census. Later models were widely used for business applications such as accounting and inventory control. It spawned a class of machines, known as unit record equipment, and the data processing industry.

Herman Hollerith (February 29, 1860 – November 17, 1929) was an American businessman, inventor, and statistician who developed an electromechanical tabulating machine for punched cards to assist in summarizing information and, later, in accounting. His invention of the punched card tabulating machine, patented in 1884, marks the beginning of the era of mechanized binary code and semiautomatic data processing systems, and his concept dominated that landscape for nearly a century.

Hollerith founded a company that was amalgamated in 1911 with several other companies to form the Computing-Tabulating-Recording Company. In 1924, the company was renamed "International Business Machines" (IBM) and became one of the largest and most successful companies of the 20th century. Hollerith is regarded as one of the seminal figures in the development of data processing.


What is F.H.B. an abbreviation for?

Answers

Answer:

FHB Fusarium Head Blight

FHB First Hawaiian Bank

FHB First Home Buyer (Australia)

FHB Flexor Hallucis Brevis

FHB Facques Hess Bourbouloux (French administrative company)

FHB Fine Home Building (magazine)

FHB Fetal Heart Beat

FHB Family Hold Back

FHB Fish Hungry boy (Harbinger, NC)

FHB Fédération Hattrick Belgique (French: Belgian Hat Trick Federation; Belgian soccer organization)

FHB Fair Haired Boy

Explanation:

This OS integrated the processing power of Windows NT with the easy-to-use GUI of Windows 98.


Windows Millennium Edition

Windows 2000

Windows for Workgroups

Windows 3.11

Answers

It’s the first one 3.11.132

Select the correct answer from each drop-down menu.
Nancy suffers from Repetitive Strain Injury (RSI), a condition that results from repetitive hand movement on a computer. What can help Nancy to reduce the strain from RSI?

To reduce the strain from RSI, Nancy can use___
and ___ regularly.

Answers

The right way that goes left

Answer:

To reduce the strain from RSI, Nancy can use an ergonomically designed keyboard and exercise regularly.

Explanation:

Just makes the most sense dude.

Write a pseudo code to complete the factorial of 5 recursively and print the value on the screen. I’ll mark brianliest

Answers

Answer:

number = int(input('Enter number: '))  

factorial = 1

for i in range(1, number + 1):

   factorial = factorial * i

print(factorial)

You will need to input 5 when you run the code. Or you can add change the "number" to "number = 5"

What is the "thinking work" of the computer? How does it help the computer?

Answers

Answer:

El pensamiento computacional es una forma de pensar que utiliza habilidades propias de las ciencias de la computación, como la descomposición y resolución de problemas, lógica, el reconocimiento de patrones y la abstracción

Explanation:

Un computador sirve para guardar los teléfonos de tus amigos, las tareas del colegio, los trabajos de tu papá y mamá y hasta las cartas que le envías a tu novia.

Using a trick or fraud to steal personal information is called (5 points)
A. hacking
B. identity theft
C. netiquette
D. scamming

Answers

-D. Scamming- like when a telemarketer called you and tries to get you to give personal information

Answer:

its D

Explanation:

ive done this before i remeber i got d

Use the drop-down menus to complete these sentences.

The running of a set of programming instructions multiple times is called
.

If a sequence of code is repeated multiple times, it is referred to as
.

One set of coding instructions processing many different sets of data and eliminating multiple lines of code is an example of

Answers

Answer:

The running of a set of programming instructions multiple times is called iteration.

If a sequence of code is repeated multiple times, it is referred to as a loop.

One set of coding instructions processing many different sets of data and eliminating multiple lines of code is an example of Iteration value.

Explanation:

Answers are correct. I got them right.

The running of a set of programming instructions multiple times is called iteration, If a sequence of code is repeated multiple times, it is referred to as loop, One set of coding instructions processing many different sets of data and eliminating multiple lines of code is an example of value of iteration.

What is Iteration?

Iteration refers to repeating a certain number of steps continuously until a particular condition is met successfully.

The iterations can be an infinite number of times or an infinite number of times. It all depends on the program in which we are performing the iterations.

Iteration is the repetition of a process in a computer program, usually done with the help of loops.

When the first set of instructions is executed again, it is called an iteration. When a sequence of instructions is executed in a repeated manner, it is called a loop.

Therefore, The running of a set of programming instructions multiple times is called iteration, If a sequence of code is repeated multiple times, it is referred to as loop, One set of coding instructions processing many different sets of data and eliminating multiple lines of code is an example of value of iteration

Learn more about Iteration, here:

https://brainly.com/question/14969794

#SPJ3

~50 points~
how do you merge shapes in powerpoint

Answers

Answer:

Select the shapes to merge. Press and hold Shift to select multiple shapes. The Shape Format tab appears. ...

On the Shape Format tab, click Merge Shapes, and then pick the option you want. The order in which you select the shapes to merge may affect the options shown to you.Explanation:

A school principal trying to find out if parents will help buy new playground equipment shows digital leadership by

Answers

Answer:

I would say either working for money to help or ask your parent to help but you should do chores in return

Explanation:

its nice to help

2. When a business practices offensive behavior, you have many options. The option with the loudest voice is
starting a blog
telling your family about their business practice
beginning a lawsuit
choosing to do business anywhere else but with the business whose practices were offensive

Answers

—-_-__-____- _—-_- -__-_-____-__




___-_-_ _- —|

what is the name of the brige​

Answers

Answer:

hey mate which bridge????

Heres a survey
What's your fav food
What do you do for a living
What do you do for fun
Are you a boy or girl
What's your fav color
And last what kind of pet do you have if you dont have a pet then whats ypu fav game to play

Answers

food.

I'm a child of God snatching lost souls out of Hell

bake

I go to church

some is to much information to give thx and have a blessed day

Answer:

My favourite food is pizza.

I have food, I drink water and stay neat to live.

I play indoor games, read books and plays social media for fun.

I am a girl.

My favourite colour is black and white.

I have a dog name Freddie and a cat called Jacky. My favourite game is football and badminton

9.4 edhesive code practice

Answers

Answer:

What do you mean by 9.4 edhesive code practice

Explanation:

i just don’t understand

Bernard is creating an inventory of his comic book collection. He has documented the title, publisher name, production year, and
series number for each comic in his collection. He creates a spreadsheet of this information. Typically, each one of these
categories, such as production year, would be contained in:
A: a formula bar.
B: a cell.
C: a row.
D: a column.

Answers

Answer:

D: a column.

Explanation:

Since in the question it is mentioned that Bernard wants to develop an inventory. Now he created a spreadsheet of the given information

The categories like production year, publisher name, etc would be contained in a column as it represent the heading under these the year, name of the publisher are written

Therefore the option d is correct

Answer:

D: a column

Explanation:

Typically, each one of these

categories, such as production year, would be contained in a column.

31) Listed below are four general means of authenticating a user's identity, which can be used alone or in combination, provide two examples of each mean. a) Something the individual knows b) Something the individual possesses: c) Something the individual is (static biometrics): d) Something the individual does (dynamic biometrics): 20 points 32) Explain the following attacks and provide the countermeasure for each on of then: a) Specific Account Attack The standard countermeasure b) Workstation Hijacking The standard countermeasure C)Password Guessing Against single user The standard countermeasure

Answers

Answer:

31) Examples of the means of authenticating a user's identity that can be used alone or in combination are;

a) Something the individual knows;

The Personal Identification Number (PIN)

The password to an account

Answer to a (complete) set of questions

b) Something the individual possesses

An ATM card

A SIM card

Other examples includes;

Physical keys to a lock

Smart cards

Electronic Key-Card used for physical entrance into an apartment

c) Something the individual is (Static biometrics)

The fingerprint

Face recognition

Retina recognition

d) Something the individual does (dynamic biometrics);

Recognition of typing rhythm

Characteristics of the users handwriting

Voice pattern recognition

32) a) Specific account attack

A specific account is targeted for the attack by the attacker attempting to gain access by submitting guesses of the account password with the aim of finding the correct password

Countermeasure;

Limiting the number of password guesses

The use of strong passwords having over 8 characters that includes special characters

Use of multi-factor authentication

b) Workstation Hijacking

The attacker takes advantage of an logged-in unattended workstation

Countermeasure;

The use of automatic lock functions that use time of inactivity on a system or the absence of a paired device

c) Password Guessing

Password guessing is the technique used while online in an attempt to prove to being the authentic particular user by means of trial and error of a user password

Countermeasure;

The use of a two or more of authentication method also known as a multi-factor authentication MFA

Explanation:

Everytime a friend thies. to select something in
Windows, she gets a menue popping up Explain
to her what she is doing whing and why
she
cannot
select the objeto

Answers

Answer:

Please write properly your sentence is incomplete

What does a hanging indent look like?

The right and left edges of the paragraph are evenly lined up.
The first line of a paragraph is perfectly lined up with the lines below it.
The first line of a paragraph starts farther to the left than the lines below it.
The first line of a paragraph is indented more to the right than the lines below it.

Answers

Answer:

Option C, The first line of a paragraph starts farther to the left than the lines below it.

Explanation:

In a hanging indent (which is opposite of the normal paragraph), the first line of the paragraph is lined up with the left margin while the lines below the first line will indent one-half inch from the left margin.

Hence, option C is correct

Other Questions
How do you identify a threat? Which of the following is an example of a personal area network? What does the street light symbolize in Tewwg? Who is responsible for appointing ambassadors? this muscular injury may vary in severity from localized cellular injury to complete rupture of the muscle belly/tendon. you are a leader who believes in using integrative bargaining. doing so allows you to use all of the following tactics except: group of answer choices use a deadline to put pressure on the person you are bargaining with to make a decision faster get past the fixed position of one another and discuss what their real interests are sweeten the deal be willing to share information What is the common ratio of the geometric sequence below?625, 125, 25, 5, 1, What would you expect the clinical laboratory technicians to look for in julie's blood smear? What did Frederick Douglass focus on? Today we're making decorations for meal trays at the senior center; Madelyn covers hers with floriddesigns, swoops, and scrolls and admonishes me for making mine too plain. As we work, she asksme questions about the people at the senior center. Sometimes she treats me like I'm a wise,omniscient being, and occasionally I want to remind her that I'm just in high school and I don't haveall the answers yet.How does the phrase "florid designs, swoops, and scrolls" affect the tone of the passage? Chicken Wing Dissection What is the difference between a ligament and a tendon? allowance for doubtful accounts has a debit balance of $298 at the end of the year (before adjustment), and bad debt expense is estimated at 2% of credit sales. if credit sales are $886,700, the amount of the adjusting entry for uncollectible accounts is a.cannot determine without more information b.$17,734 c.$17,436 d.$18,032 Clinical trials enroll individual subjects and enable randomization of subjects to receive or not receive the intervention. True or False Which of the following is probably going to propagate an action potential fastest? Graph y +1 = 1/3 (x-3) Which is an expression for the derivative of P(x)=f(x)/1-f(x)? What is the importance of Defence? Did the anti slavery movement cause the Civil War? Need help will mark brainliest Why is the function of endoplasmic reticulum important?