ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 28 Apr 2017 My Price 8.00

studying the purchasing power of money

In your economics class, you are studying the purchasing power of money. Over time, the cost of items tends to go up (e.g., inflation), although sometimes prices may drop (e.g., deflation).

Use the Web to research price comparisons of items that are commonly purchased. For example, you may want to explore the US Census Bureau’s 2012 Statistical Abstract site (http://www.census.gov/compendia/statab/) to locate current and past price indexes on food, fuel, or housing.

Write a program that inputs an item’s description, a past year, a past price, a current year, and a current price. Make sure your program can handle multi-word descriptions.

The program should then calculate the percent change between the past and current prices and display a report. Your report should have the following characteristics:

 • All prices must be formatted to display two decimal places.

 • Percent change must be formatted to display one decimal place.

 • All report labels must be left aligned, and all report values must be right aligned.

 • The report must contain a heading that includes the years being compared

Sample output:

Enter description: Potato Chips

Past Year: 2000

Past Year Price: 3.44

Current Year: 2010

Current Year Price: 4.74

 Price Comparison: 2000 to 2010

 Item: Potato Chips

 Past Year: 2000

 Past Year Price: 3.44

 Current Year: 2010

 Current Year Price: 4.74

 Percent change: 37.8%

Answers

(11)
Status NEW Posted 28 Apr 2017 08:04 AM My Price 8.00

-----------

Attachments

file 1493368484-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)