subject
Engineering, 08.11.2019 19:31 shelbycg02

Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing. ask the user to input the current price of an item and its price one year and two years ago. to calculate the inflation rate for a year, subtract the price of the item for that year from the price of the item one year ago and then divide the result by the price a year ago. your program must contain at least the following functions: a function to get the input, a function to calculate the results, and a function to output the results. use appropriate parameters to pass the information in and out of the function. do not use any global variables.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 04.07.2019 18:10
At 12 noon, the count in a bacteria culture was 400; at 4: 00 pm the count was 1200 let p(t) denote the bacteria cou population growth law. find: (a) an expression for the bacteria count at any time t (b) the bacteria count at 10 am. (c) the time required for the bacteria count to reach 1800.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
question
Engineering, 04.07.2019 18:20
Most leaks in reciprocating air compressors can be detected and minimized by: (clo4) a)-detecting leakage areas using ultrasonic acoustic detector. b)-tightening joints and connections c)-replacing faulty equipment d)-all of the given options
Answers: 2
You know the right answer?
Write a program that outputs inflation rates for two successive years and whether the inflation is i...
Questions
question
Mathematics, 13.03.2021 01:00
question
Mathematics, 13.03.2021 01:00
Questions on the website: 13722362