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 of the following best represents how an increase in exploration led to advancements in ship technology
What is the slop parallel to the line y=-1/5
What’s the theme of Demeter and Persephone??
what is the factored dorm of 1256x to the sixth power minus 8​
What is the perimeter? Please help
Which of the following lists steps of mRNA production in eukaryotes in the correct order?View Available Hint(s)Which of the following lists steps of mRNA produc
which of these best states how a thesaurus differs from a dictionary
Choose the word or phrase that best defines the italicized word. "And these are but the shatter'd stalks,/Or ruin'd chrysalis of one."
In preventing heart disease, describe the factors individuals have no control over.
1. One of the essential minerals in the human body is salt. How much salt is in the average adult human body? A. 1 kilogram B. 500 grams C. 250 grams D. practic