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
![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
msg cut 5%
End if
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?](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F947e6a5d-c160-4973-9fce-2ccd09e8c1ee%2Ff79109ed-97b6-4174-91e1-d57f8ce21e6c%2Fee1jgbi_processed.png&w=3840&q=75)
Transcribed Image Text: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
msg cut 5%
End if
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?
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
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
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)