Question: Write a C + + program that will use a function called Convertweight that accepts a real Value and two characters InUnits and OutUnits and
Write a program that will use a function called Convertweight that accepts a real Value and two characters InUnits and OutUnits and then converts Value given in InUnits to the equivalent value in OutUnits and display this value. Inputs must be read from a file called data.txt Output must be displayed at the console screen. The following is the conversions chart: InUnits or OutUnits Symbol Conversion P for pints pints to liters: pt for litersfor quarts quarts to liters: qt for gallons gallons to liters: galLMakesure:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
