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
Amass of 1.5 kg of air at 120 kpa and 24°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
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 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
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, 05.11.2019 03:31
Questions on the website: 13722361