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 08:50
Can online classes such as gradpoint track your ip location like if im taking a final and i give somebody else my account and they take the final for me will it show where they are taking the final from? and can this be countered with a vpn
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
How do i get rid of my member ship for
Answers: 2
question
Computers and Technology, 24.06.2019 10:30
This device directs network traffic. bridge hub nic repeater router switch
Answers: 3
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, 09.07.2021 20:00
Questions on the website: 13722367