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

  Inflation targeting be a good policy

Why might it be difficult for the Fed to formally adopt inflation targeting?  Would inflation targeting be a good policy for the Fed in the present economic environment

  In using the taylor rule

In using the Taylor Rule as a guideline for monetary policy, what are the pros and cons of using forecasted values of inflation and output rather than observed values of these variables?

  Describe the present economic crisis situation in europe

Describe the present economic crisis situation in Europe.  Why has it been so difficult for the Europeans to find a solution to this problem?   Comment on what implications the crisis may have for the rest of the world if Europeans are not able to ag..

  Long-term federal government budget problems

Question:. Explain why there are long-term Federal government budget problems. Explain why the base-line forecast of the CBO is misleading.

  Derive and compare demand curve

Question based on Derive and compare demand curve,  Derive Ambrose's demand function for peanuts. How does it compare with Johnny's demand curve for peanuts?

  Problem based on utility function

Problem based on  Utility Function - Problem,  Answer and explain the following using a diagram which is completely labeled.

  Laffer curve : tax rate and tax revenue

Question based on Laffer Curve : Tax Rate and Tax Revenue,  Do raising tax rates necessarily raise tax revenue? What factors affect how tax revenue changes when tax rates change?

  Problem - income elasticity of demand

Problem - Income Elasticity of Demand,  Interpret the following Income Elasticities of Demand (YED) values for the following and state if the good is normal or inferior; YED= +0.5 and YED= -2.5

  Positive balance of payment

Question Positive Balance of Payment: "Things will look good for the US if we could just get to where we are consistently running a positive Balance of Payments."

  Effect of recession on the investment curve

Comment on the effect of a recession on the investment curve (only) and on the level of savings, investment, and the equilibrium real interest rate in the financial crisis that hits United States first starting in fall 2007.

  Affect of falling domestic investment on trade surplus and

How will a fall in domestic investment affect the trade surplus and net capital outflows in the domestic economy, the trade deficit and capital inflows in the rest of the world.

  Crises in the banking sector and bank run

Banking crises crisis decreases depositors' confidence in the banking system. What would be the effect of a rumor about a banking crisis on checkable deposits in such a country?

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