You have to create a program to store your monthly expenses. You will create the empty...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You have to create a program to store your monthly expenses. You will create the empty structure, user will key-in their information as requested. The information should contain: Food - Transportation - Housing Miscellancous Display the information in table Calculate total expenses for each category and display in table Calculate Total expenses for the respective month. Sample Output: Expenses for nonth:MAC Jeek 1 Enter Expenses For Food :78 Enter Expenses For Trans portat ion:58 Enter Expenses For Hous ing:75 Enter Expenses For Miche llaneous:108.80 leek 2 Enter Expenses For Food :65.80 Enter Expenses For Trans portat ion:48.88 Enter Expenses For Micheilaneous :26.5S8 Jeek 3 Enter Expenses For Food :54.20 Enter Expenses For Trans portation:50.48 Enter Expenses For Michellaneous:24.78 Jeek 4 Enter Expenses For Food 161.50 Enter Expenses For Trans portat ion:45 Enter Expenses For Miche llaneous:48.68 Your Expenses for MAC Food Trans portation Hous ing Mise Jeeki Jeek2 Jeek3 Jeek4 TOTAL RM78 RM65.8 RM48.8 RMS4.2 RMS0.4 RM61.5 RM45 RM251.5 RM186.2 RMS0 RM75 RM75 RM75 RM75 RM188.8 RM26.5 RM24.7 RM48.6 RM208.6 RM300 Vour Total Expenses for MAC is: RM1946.3 Press any key to cont inue... You have to create a program to store your monthly expenses. You will create the empty structure, user will key-in their information as requested. The information should contain: Food - Transportation - Housing Miscellancous Display the information in table Calculate total expenses for each category and display in table Calculate Total expenses for the respective month. Sample Output: Expenses for nonth:MAC Jeek 1 Enter Expenses For Food :78 Enter Expenses For Trans portat ion:58 Enter Expenses For Hous ing:75 Enter Expenses For Miche llaneous:108.80 leek 2 Enter Expenses For Food :65.80 Enter Expenses For Trans portat ion:48.88 Enter Expenses For Micheilaneous :26.5S8 Jeek 3 Enter Expenses For Food :54.20 Enter Expenses For Trans portation:50.48 Enter Expenses For Michellaneous:24.78 Jeek 4 Enter Expenses For Food 161.50 Enter Expenses For Trans portat ion:45 Enter Expenses For Miche llaneous:48.68 Your Expenses for MAC Food Trans portation Hous ing Mise Jeeki Jeek2 Jeek3 Jeek4 TOTAL RM78 RM65.8 RM48.8 RMS4.2 RMS0.4 RM61.5 RM45 RM251.5 RM186.2 RMS0 RM75 RM75 RM75 RM75 RM188.8 RM26.5 RM24.7 RM48.6 RM208.6 RM300 Vour Total Expenses for MAC is: RM1946.3 Press any key to cont inue...
Expert Answer:
Answer rating: 100% (QA)
include include include using namespace std struct Budget declare a global type dou... View the full answer
Posted Date:
Students also viewed these programming questions
-
The package inheritance hierarchy (below) to create a program that displays the address information and calculates the shipping costs for several packages. The program should contain a vector of...
-
journalise the transactions Transaction (7): The expenses paid in cash for September are store rent, $600; salaries of employees, $900; and utilities, $200. Transaction (8): Soft byte pays its $250...
-
Please write in Python Language to create a Program for Contact Management System. It is similar to the contact manager in cell phones. In this program, you can add, view, edit, search, and delete...
-
A cardboard tube is wrapped with two windings of a insulated wire wound in opposite directions, as shown in Fig. 29.34. Terminals a and b of winding A may be connected to a battery through a...
-
Following is partial information for the statement of earnings of Timber Company under two different inventory costing methods, assuming the use of a periodic inventory system: Required: 1. Compute...
-
Yamamoto Iron & Steel is considering setting up a minimill outside Atlanta, Georgia. At present, the company is planning to send a group of executives to the area to talk with local and state...
-
a. Are the quadratic terms important? Consider a linear model of LNEXPENSES on 12 explanatory variables. For the explanatory variables, include assets, GROUP, both versions of losses and gross...
-
The following are brief descriptions of several companies in different lines of business. A. Company A is a construction company. It has recently signed a contract to build a highway over a...
-
A 30-year fully amortizing mortgage loan was made 10 years ago for $75,000 at 10 percent interest. The borrower would like to prepay the mortgage balance by $10,000. Assuming he can reduce his...
-
Last winter, Casey shoveled snow from sidewalks to earn extra money. He was paid $250 in cash, and no deductions were made from his pay. Casey did not receive a T4slip. When Casey files his tax...
-
A double quarter pounder with cheese from McDonald's has 873 Calories. Suppose a person climbing a flight of stairs burns 1,959 J for every flight they climb. Also take their basal metabolic rate,...
-
In per-unit equivalent circuits of practical three-phase transformers, under balanced three-phase operation, in which of the following connections would a phase-shifting transformer come up? (a)...
-
The fuel-cost curves for two generators are given as follows: \[ \begin{aligned} & \mathrm{C}_{1}\left(\mathrm{P}_{1}ight)=600+18 \cdot \mathrm{P}_{1}+0.04 \cdot\left(\mathrm{P}_{1}ight)^{2} \\ &...
-
The practice of usury _______. a) is illegal in the United States b) is legal in some states and illegal in others c) is legal only if borrowers are in the military service d) was approved of by most...
-
In 2011 our net foreign debt was over $ trillion. a) 2 b) 4 c) 6 d) 8 e) 10
-
If interest rates fall, the present value of future dollars will ________.
-
Preliminary Information The factorial function is defined on the natural numbers as follows: Note that the result is an integer and that factorials increase very rapidly. MATLAB has a factorial...
-
A summary of changes in Pen Corporation's Investment in Sam account from January 1, 2011, to December 31, 2013, follows (in thousands): ADDITIONAL INFORMATION 1. Pen acquired its 80 percent interest...
-
Give some examples of models in which the dependent variable is a count variable.
-
Explain why estimation of a supply and demand model requires an alternative to ordinary least squares (OLS).
-
Describe what is meant by the phrase "sample selection."
Study smarter with the SolutionInn App