Please help with this programming assignment. It would be nice if you can type comments on your way for more clarificati

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Please help with this programming assignment. It would be nice if you can type comments on your way for more clarificati

Post by answerhappygod »

Please help with this programming assignment. It would be nice
if you can type comments on your way for more clarification. Your
help will be much appreciated. c++
Please Help With This Programming Assignment It Would Be Nice If You Can Type Comments On Your Way For More Clarificati 1
Please Help With This Programming Assignment It Would Be Nice If You Can Type Comments On Your Way For More Clarificati 1 (68.21 KiB) Viewed 26 times
Sample Output
Please Help With This Programming Assignment It Would Be Nice If You Can Type Comments On Your Way For More Clarificati 2
Please Help With This Programming Assignment It Would Be Nice If You Can Type Comments On Your Way For More Clarificati 2 (165.92 KiB) Viewed 26 times
A student has established the following monthly budget" Housing $500.00 Utilities $75.00 Household Expenses $150.00 Transportation $50.00 Food $250.00 Miscellaneous $200.00 Write a program that has MonthlyBudget structure designed to hold each of these expense categories. The program should pass the structure to a function that asks the user to enter the amounts spent in each budget category during a month. The program should then pass the structure to a function that displays a report indicating the amount over or under in each category, as well as the amount over or under the entire monthly budget. Grading will be affected by: Proper formatting. Use left, right, and setw manipulators as needed. Ex: cout <<setw(18) << left << "Miscellanous" <<setw(16) << right No input validation is required. Use of at least two functions.

Enter the amount spent for housing: 500 Enter the amount spent for utilities: 150 Enter the amount spent for household expenses: 200 Enter the amount spent for transportation: 50 Enter the food expenses: 150 Enter the miscellaneous expenses: 200 Category Budgeted Spent Over(-)/Under Housing 500.00 500.00 0.00 Utilities 75.00 150.00 -75.00 Household 150.00 200.00 -50.00 Transportation 50.08 50.00 0.00 Food 250.00 150.00 100.00 0.00 Miscellanous 200.00 200.00 For the month you are over budget by $-25.00 Enter the amount spent for housing: 500 Enter the amount spent for utilities: 75 Enter the amount spent for household expenses: 100 Enter the amount spent for transportation: 50 Enter the food expenses: 200 Enter the miscellaneous expenses: 200 Category Budgeted Spent Over (-)/Under Housing 500.00 500.00 0.00 Utilities 75.00 75.00 0.00 Household 150.00 100.00 50.00 Transportation 50.00 50.00 0.00 Food 250.00 200.00 50.00 Miscellanous 200.00 200.00 0.00 For the month you are under budget by $100.00
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply