For statement
#include <iostream> #include <iomanip> using namespace std; int main() { double rate = 1.15; cout << fixed << setprecision(2); cout << "Euro Dollar\n"; for( int euro = 1; euro <= 5; ++euro) cout << " " << euro << " " << euro*rate << endl; return 0; }