Assuming that there are 7.481 gallons in a cubic foot, write a program thatthat asks the user to enter the number of gallons, and then display the equivalent in cubic feet.
1
Expert's answer
2011-08-11T13:07:16-0400
[table]#include <iostream>using namespace std;
int main() { float gallons; cout<<"enter the number of gallons"<<endl; cin>>gallons; cout <<"cubic feet : " <<gallons/7.481 << endl; // prints return 0; }[/table]
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment