- 4

Assuming there are 7.481 gallons in a cubic foot

.write a program that asks user to enter a number of gallons and then display the equivalent in cubic feet.

9th May 2017, 5:44 PM
mostafa salah
mostafa salah - avatar
3 Antworten
+ 6
Your title should be "do me my homework".
9th May 2017, 5:50 PM
CHMD
CHMD - avatar
+ 3
They invented the metric system. Give it a try: it may simplify your homework.
9th May 2017, 7:13 PM
seamiki
seamiki - avatar
+ 1
Dude, just declare and initialize a variable to 7.481. Then declare another variable without initializing it. Then ask user for the amount of gallons and store that in the empty variable. Then declare a 3rd variable and initialize it with the product of the first two variables. Then cout that shit for an A
9th May 2017, 6:08 PM
Jadude