Start Declare variables idno, namez, payhr, hourswk, pay, payafter nput idno, namez payhr, hourswk Calculate pay = payhr* hourswk Calculate payafter = pay *.8 Output idno, namez pay, payafter Stop Pseudocode: Start Declare variables idno, namez, payhr, hourswk Declare variables pay, payafter Input idno, namez, payhr, hourswk paypayhr hourswk payafter = pay* 8 Output idno, namrez, pay, payafter Stop Problem #1 Input: 11111 John Doe 25 20 What is the output?

icon
Related questions
Question

Answer these part questions

Start
Declare variables
idno, namez, payhr,
hourswk, pay, payafter
Anput idno, namez
payhr, hourswk
Calculate pay
= payhr* hourswk
Calculate
payafter = pay *.8
Output idno, namez
pay, payafter
Stop
Pseudocode:
Start
Declare variables idno, namez, payhr, hourswk
Declare variables pay, payafter
Input idno, namez, payhr, hourswk
pay payhr* hourswk
payafter = pay * 8
Output idno, namez, pay, payafter
Stop
Problem #1
Input: 11111 John Doe 25 20
What is the output?
Transcribed Image Text:Start Declare variables idno, namez, payhr, hourswk, pay, payafter Anput idno, namez payhr, hourswk Calculate pay = payhr* hourswk Calculate payafter = pay *.8 Output idno, namez pay, payafter Stop Pseudocode: Start Declare variables idno, namez, payhr, hourswk Declare variables pay, payafter Input idno, namez, payhr, hourswk pay payhr* hourswk payafter = pay * 8 Output idno, namez, pay, payafter Stop Problem #1 Input: 11111 John Doe 25 20 What is the output?
Start
Declare variables
idno, namez, payhr,
hourswk, pay payafter
Anput idno, namez
payhr, hourswk
calcPay()
Output idno, namez
pay, payafter
Stop
Problem #2
Input: 11111 John Doe 25 20
What is the output?
calcPay()
Calculate pay
= payhr *hourswk
Calculate
payafter = pay *.8
Return or End
module
Pseudocode:
Start
Declare idno, namez
Declare payhr, hourswk
Declare pay, payafter
Input idno, namez, payhr,
hourswk
calcPay()
Output idno, namez, pay,
Payafter
Stop
calcPay()
pay = payhr* hourswk
payafter pay*.8
Return or end module
Transcribed Image Text:Start Declare variables idno, namez, payhr, hourswk, pay payafter Anput idno, namez payhr, hourswk calcPay() Output idno, namez pay, payafter Stop Problem #2 Input: 11111 John Doe 25 20 What is the output? calcPay() Calculate pay = payhr *hourswk Calculate payafter = pay *.8 Return or End module Pseudocode: Start Declare idno, namez Declare payhr, hourswk Declare pay, payafter Input idno, namez, payhr, hourswk calcPay() Output idno, namez, pay, Payafter Stop calcPay() pay = payhr* hourswk payafter pay*.8 Return or end module
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer