subject

Write a program that asks the user to enter the amount s/he has budgeted for a month. the amount should be between 1000 and 2000 (do an input validation). a loop should then prompt the user to enter each of the expenses (show at least 3 expenses) for the month and keep a running total. when the loop finishes, the program should display the amount that the user is over or under budget or exactly on budget. # hints # declare variables to store the budget amount, amount spent, difference, and total. # initialize for while loop # get the budgeted amount from the user and do input validation # get the total amount spent from the user (while statement starts, make sure to enter exit criteria) # determine whether the user is over or under budget, and display the result (if elif else) # print what was the budgeted amount # print what was the amount spent

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
To insert a column without using commands in any tabs, a user can -click and then click insert column.
Answers: 3
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
question
Computers and Technology, 23.06.2019 23:00
How do you know if the website is secure if you make a purchase
Answers: 2
You know the right answer?
Write a program that asks the user to enter the amount s/he has budgeted for a month. the amount sho...
Questions
question
Mathematics, 10.02.2021 18:50