Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent budgetMsg () Output idno, location, dept, budget, spent, msg Stop budgetMsg () If dept < 20 If budget > 350000 msg cut 7% Else Else If spent > 250000 msg cut 6% Else End if msg= cut 5% End if End if msg cut 4% Problem #27: 1111 BO 21 400000 300000 Problem #27: 2222 PR 19 100000 110000 Problem #29: 3333 FR 10 300000 275000 Problem #30 4444 NB 15 200000 150000 What are the results?
Main Program: Start Declare variables idno, location, dept, budget, spent, msg Input idno, location, dept, budget, spent budgetMsg () Output idno, location, dept, budget, spent, msg Stop budgetMsg () If dept < 20 If budget > 350000 msg cut 7% Else Else If spent > 250000 msg cut 6% Else End if msg= cut 5% End if End if msg cut 4% Problem #27: 1111 BO 21 400000 300000 Problem #27: 2222 PR 19 100000 110000 Problem #29: 3333 FR 10 300000 275000 Problem #30 4444 NB 15 200000 150000 What are the results?
Related questions
Question
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