Question: How do I write this code, in C++. Need help. A student has established the following monthly budget Housing Utilities Transportation Food Entertainment Miscellaneous 500.00
A student has established the following monthly budget Housing Utilities Transportation Food Entertainment Miscellaneous 500.00 150.00 50.00 250.00 150.00 50.00 Write a program that stores the following data about each budget category in a structure called Category: The name of the category The amount allocated to the category . The amount spent on that category so far this month The program should keep an array of these structures, one per category. When the program runs, it should initialize the array using the data above, and 0 for the amount spent so far this month Then it should repeat a loop that performs the following steps: The user should see a table of the categories with the allocated amounts, and amount spent so far this month. The user can choose to select a category, display the table, or quit. When a category is selected, the user can enter an amount of money to be added to the amount spent on that category so far this month. When the user quits the program, the program should display a message indicating the amount over or under for the entire monthly budget. Please see sample output in the file output1.pdf on the class website. Note: your output should look at least as nice as mine (data lined up in columns, formatted to two decimal points, et)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
