Question: / / This program accepts a user's monthly pay / / and rent, utilities, and grocery bills / / and displays the amount available for
This program accepts a user's monthly pay
and rent, utilities, and grocery bills
and displays the amount available for discretionary spending
which might be negative
Modify the program to output the pay and the total bills
as well as the remaining discretionary amount
start
input pay
input rent
input utilities
input groceries
discretionary pay rent utilities groceries
output discretionary
stop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
