Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- double liter = 0;
- for(int gallon = 10; gallon <= 20; gallon++)
- {
- liter = gallon * 3.785;
- cout << gallon << " " << liter << endl;
- }
- while(cin.get() != '\n'){}
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement