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 06:00
In outlook how can cherie look at the details of an event that appears on the month view of her calendar? check all that apply. by switching to the detail view by switching to the week view by switching to the day view by right-clicking on the event by double-clicking on the event by highlighting the event
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
This graph compares the total cost of attending educational institutions in texas. the graph demonstrates that the cost at private and public technical schools greatly varies.
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 13:30
What is the primary difference between the header section of a document and the body? a. the body is displayed on the webpage and the header is not. b. the header is displayed on the webpage and the body is not. c. the tag for the body is self-closing, but the tags for the headers must be closed. d. the tag for the header is self closing, but the tag for the body must be closed.
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, 13.10.2019 13:50
question
Mathematics, 13.10.2019 13:50
Questions on the website: 13722367