Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent If dept < 20 msg cut 5% Else If budget > 350000 msg = cut 7% Else msg cut 6% End if End if Output idno, location, dept, budget, spent, msg Stop
Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent If dept < 20 msg cut 5% Else If budget > 350000 msg = cut 7% Else msg cut 6% End if End if Output idno, location, dept, budget, spent, msg Stop
Related questions
Question

Transcribed Image Text:Main Program:
Start
Declare variables idno, location, dept, budget, spent, msg
Input idno, location, dept, budget, spent
If dept < 20
msg cut 5%
Else
If budget > 350000
msg cut 7%
Else
cut 6%
msg
End if
End if
Output idno, location, dept, budget, spent, msg
Stop
Problem #15:
1111 BO 20 400000 300000
Problem #16:
2222 PR 14 100000 110000
Problem #17:
3333 FR 25 200000 100000
What are the results?
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images
