Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Re:
#include <iostream.h> #include <conio.h> void gas(); void main() { float gal; while(gal<=0) gas(); cout<<"thanks for your help"; getch(); } void gas() { float gal; float total; float miles; float avg; cout <<"enter the gallons of gas used (-1 to end): "; cin >> gal; cout <<"enter miles driven: "; cin … |