(Program) a. Write, compile, and run a C++ program that accepts five values of gallons, one at a time, and converts each value entered to its liter equivalent before the next value is requested. Use a for loop in your program. There are 3.785 liters in 1 gallon of liquid.
b. Modify the program written for Exercise 9a to request the number of data items to be entered and converted first.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.