Write a program to compute percentage for specific category

Assignment Help Macroeconomics
Reference no: EM13177550

You've been asked to write a program that computes percentages for specific categories in a personal budget. The program should ask the user to enter estimated monthly expenditures for the following categories:
Rent Payment, Food, Utilities, and All Other. Your program should add the amounts, display the total, and compute and display the percentage for each category. Dollar amounts should be displayed with two decimal places and percentages should be displayed with one decimal place.

using pseudocode, develop an algorithm to solve this problem.

Reference no: EM13177550

Questions Cloud

Write equation for autonomous planned spending : Suppose the equation for th LM curve is Y=13500+100r. Use this equation to explain the level of income at which there is a zero lower bound on the federal funds rate, the interest rate that the Fed controls. C) Graph the LM curve for interest rate..
Find the length of the shadow on the wall : A 12-centimeter rod is held between a flashlight and a wall as shown. Find the length of the shadow on the wall if the rod is 45 cm from the wall and 15 cm from the light.
Find the conditional probabilities : Suppose a random experiment can be represented by 2 sets of events ,Ai and Bj, with each pair of sub events (A1 and A2, and B1, and B2) being mutually exclusive and collectively exhaustive.
Prove that the line will pass through a fixed point : A straight line moves in such a way that the sum of the reciprocals of the intercepts of the axes is equal to 1/k , where k is a constant. Prove that the line will pass through a fixed point.
Write a program to compute percentage for specific category : Rent Payment, Food, Utilities, and All Other. Your program should add the amounts, display the total, and compute and display the percentage for each category. Dollar amounts should be displayed with two decimal places and percentages should be di..
How many students take exactly one of these two courses : Rework problem 11 from section 1.3 of your text, involving high school students. Assume that 26 take mathematics, 26 take psychology, and 13 take mathematics and psychology.
Fast food culture and food concept : Compare American's fast food culture and Italian's slow food concept. what is different between?
What was the population in 1995 : the population of a city can be modeled by p=125000 e^0.02t where t is the number of years since 1990. what was the population in 1995?
Difference between an operating budget and a cash budget : What is the difference between an operating budget and a cash budget, explain what zero-based budgeting is and how it can improve the efficiency of the organization?

Reviews

Write a Review

Macroeconomics Questions & Answers

  Derive the nash equilibrium of the model

Consider a 2-company Cournot model. Let ci (i=1,2) denote firm i's cost per unit of output produced, and suppose that c1 > c2 .

  Elucidate price every ride must the public transportation

Elucidate price every ride must the public transportation authority charge to eliminate the deficit if it cannot reduce costs

  Explain how the environmental protection agencys policies

Explain how the Environmental Protection Agencys policies impact business in the US.

  What is the dollar amount of excess reserves

What is the dollar amount of excess reserves and by what dollar amount can this bank safely expand its loans?

  Find the new equilibrium level of aggregate output

What will be the price of this bond? Suppose the market rate of interest rose to 12%; what would happen to the price of the bond?

  Budget constraint of a household in a two-period model

Describe how the budget constraint of a household in a two-period model is affected by each of the following changes. In each case, do you think that the household is better off or worse off, or is the answer ambigous? If ambigous, what does the a..

  Elucidate how an increase in your nominal income

Elucidate how an increase in your nominal income and a decrease in your real income might occur simultaneously.

  Illustrate the impact of taxes

You are considering buying a new car with a part of your student loan dollars as you really do not need the extra cash now. You have two alternatives with the following cost structures. Speedy Initial cost = $20,000 Annual operating cost = $8,000 U..

  Small problem with fraud also misuse of the sytem

EBay claims that it has only a small problem with fraud also misuse of the sytem. Does this imply that it is overinvesting in addressing potention contracting problems.

  Illustrate can be said concerning ecommerce

Illustrate can be said concerning eCommerce (such as Amazon and other online stores) and individual behavior vs traditional storefront retail and individual behavior.

  Effect of before tariff and after tariff on price

Consider the market for fresh produce in Snowland. Fresh produce is produced expensively in hothouses in Snowland.

  Employees as the company is upside down

If I have to lay-off 19 employees as the company is upside down -$1878.00 after total cost. So, by cutting staff of 19 with a salary of $100 per day, an eight hr day, how much will I save.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd