Computers and Technology
Computers and Technology, 07.10.2019 18:20, ericka79

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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 13:10, hannahhoskings6989
Java g array testgrades contains num_vals test scores. write a for loop that sets sumextra to the total extra credit received. full credit is 100, so anything over 100 is extra credit. ex: if testgrades = {101, 83, 107, 90}, then sumextra = 8, because 1 + 0 + 7 + 0 is 8.
Answers: 1
image
Computers and Technology, 21.06.2019 19:20, khenalilovespandas
Number of megabytes of ram in a computer. qualitative or quantitative? because
Answers: 3
image
Computers and Technology, 22.06.2019 10:30, ghazanfarwaheed7967
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
image
Computers and Technology, 22.06.2019 19:30, keke6361
When using a public computer or network, you should always
Answers: 2
Do you know the correct answer?
Write a program that asks the user to enter the amount s/he has budgeted for a month. the amount sho...

Questions in other subjects:

Konu
Mathematics, 07.09.2021 18:40
Konu
Mathematics, 07.09.2021 18:40
Konu
English, 07.09.2021 18:50