alyssakim4933 alyssakim4933
  • 11-04-2019
  • Computers and Technology
contestada

write a pseudocode to represent the logic of a program that allows a user to enter an hourly pay rate and hours worked. the program outputs the user's gross pay

Respuesta :

sylvain96
sylvain96 sylvain96
  • 21-04-2019

Answer:

I used the standard OUTPUT command, but you might use PRINT, depending on what was included in your class instructions.

OUTPUT 'What is the hourly pay?'

INPUT user inputs the hourly pay

STORE the user's input in the hourlyPay variable

OUTPUT 'What is the number of hours worked?'

INPUT user inputs the number of hours worked

STORE the user's input in the numHours variable

SET grossPay as the product of hourlyPay and numHours

OUTPUT 'Thanks, the gross pay is " grossPay

Answer Link

Otras preguntas

Which exponential equation is equivalent to the logarithmic equation below? c =ln 3 A. c^3 =e B.3^c=e C.e^3=c D.e^c=3
What areas of the world were “available” for takeover when the United States got involved in expansionism?
which complex number has an absolute value of 5? –3 4i 2 3i 7 – 2i 9 4i
_____ involves observing data and recognizing patterns. A. Hypothetical reasoning B. Deductive reasoning C. Inductive reasoning D. Conclusive reasoning
define the law of demand in a perfectly competitive market
Which of the following can result in irregularities leading to cancer?
How can one determine the median of a data set?
Which were significant events that helped the Allies win the war in Europe? Check all that apply. the Nazi defeat at Stalingrad the London Blitz the bombing of
What is one country we will visit on our cruise?
how can you establish credit