Write a program that asks the user to enter the amount that he or she has budgeted
Question:
Write a program that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her 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.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (8 reviews)
Solution Python code You can copy code from below amou...View the full answer
Answered By
Marvine Ekina
Marvine Ekina
Dedicated and experienced Academic Tutor with a proven track record for helping students to improve their academic performance. Adept at evaluating students and creating learning plans based on their strengths and weaknesses. Bringing forth a devotion to education and helping others to achieve their academic and life goals.
PERSONAL INFORMATION
Address: , ,
Nationality:
Driving License:
Hobbies: reading
SKILLS
????? Problem Solving Skills
????? Predictive Modeling
????? Customer Service Skills
????? Creative Problem Solving Skills
????? Strong Analytical Skills
????? Project Management Skills
????? Multitasking Skills
????? Leadership Skills
????? Curriculum Development
????? Excellent Communication Skills
????? SAT Prep
????? Knowledge of Educational Philosophies
????? Informal and Formal Assessments
0.00
0 Reviews
10+ Question Solved
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Question Posted:
Students also viewed these Computer science questions
-
Draw flowcharts, similar to those in Exhibits 9.1 and 9.2 , to represent the budgeting process used by a fashion retailer. Exhibit 9.1 Exhibit 9.2 Strategic planning Budget assumptions Sales budget...
-
Write a program that asks the user to enter a month (1 for January, 2 for February, and so on) and then prints the number of days in the month. For February, print 28 or 29 days. Enter a month: 5 30...
-
Write a program that asks the user to enter a distance in meters. The program will then present the following menu of selections: 1. Convert to kilometers 2. Convert to inches 3. Convert to feet 4....
-
Discuss the various ways project change can be managed. In your discussion, be sure to include real world examples if you have experienced them those experiences may help your project
-
The article An Alternative Vote: Applying Science to the Teaching of Science (The Economist, May 12, 2011) describes an experiment conducted at the University of British Columbia. A total of 850...
-
The coefficient of static friction between block B and the horizontal surface and between the rope and support C is 0.40. Knowing that WA = 30 lb, determine the smallest weight of block B for which...
-
Assume that IHOP sold all 1,000 shares of its treasury stock for \(\$ 15\) per share. The sale of treasury stock a. Decreased total equity by \(\$ 15,000\) b. Increased total equity by \(\$ 5,000\)...
-
Each of the following cost items pertains to one of the following companies: Toyota (a manufacturing-sector company), Sobeys (a merchandising-sector company), and Google (a service-sector company):...
-
The death rate from a particular form of cancer is 23%. Researchers believe that a new, experimental drug will lower this death rate. They conduct an experiment and find that when treated with this...
-
The following pretax amounts were obtained from the financial records of Wayne Company for 2018: Retained earnings (1/1/18) Sales revenues Rent revenue Cost of goods sold Selling and administrative...
-
What is the difference between an input file and an output file?
-
When a program is finished using a file, it should do this. a. Erase the file b. Close the file c. Throw an exception d. Reset the read position
-
Find the present value of the ordinary annuities in Problems 21-32. Amount of Deposit m 30. $75 Frequency n monthly Rate r 4% Time t 10 yr
-
Vaughn Manufacturing developed the following data for the current year: Beginning Work in Process Inventory $141000 Direct materials used 208000 Actual overhead 176000 Overhead applied 184000 Cost of...
-
On October 2, 2025, Wildhorse Company sold $6,340 of its elite camping gear (with a cost of $3,700) to Indigo Outfitters. As part of the sales agreement, Wildhorse includes a provision that if Indigo...
-
John, an investment adviser, tells Lisa that if she's willing to invest the amount of $ 1 0 0 today, he can increase this investment by 3 times in 7 years. What annual rate of return is John...
-
(2.) Sketch a possible graph of each function. a) f(x) = -(x-4) (x - 1)(x + 5) b) g(x) = x(x-6) 3. Each member of a family of quadratic functions has zeros at x = -1 and x = 4. a) Write the equation...
-
Statement of Facts Jennifer Wilson (age 47) has hired you to help her plan for her future retirement She plans to retire in 20 years when she will be 67 and live to age 100 (33 years in retirement)...
-
Suppose that variables A and B have a positive correlation. Provide a possible explanation for the claim that changes in B do not cause a change in A.
-
Select a mass spectrometric technique with the highest mass resolution for identifying an unknown compound being eluted from a liquid chromatography column
-
True or False Complex mathematical expressions can sometimes be simplified by breaking out part of the expression and putting it in a function.
-
This is a prewritten function that is built into a programming language. a. Standard function b. Library function c. Custom function d. Cafeteria function
-
What are the pieces of data that are passed into a function called?
-
Wile E. Coyote has a plan to drop an anvil on the roadrunner. He is standing on a cliff 26.2 m above the ground where the roadrunner will run past. If the roadrunner runs at a constant 9.2 m/s. If...
-
Elouise calculates the price/earnings ratio for the two companies listed below as follows: Will Corp Kunze Corp Price/Earnings Ratio 15.50 29.06 Based on these ratios, which company is expected to...
-
Texas is big, and Texas is important. Big in the sense of size(second only to Alaska) and population (second only to California).And our problems are big: public education, public health,pollution,...
Study smarter with the SolutionInn App