You are viewing a single comment's thread. Return to all comments →
;
int main() { string n_temp; getline(cin, n_temp);
int n = stoi(ltrim(rtrim(n_temp))); for (int i = 1; i <= 10; i++) { cout << n << " x " << i << " = " << n*i << endl; } return 0;
}
Seems like cookies are disabled on this browser, please enable them to open this website
Day 5: Loops
You are viewing a single comment's thread. Return to all comments →
;
int main() { string n_temp; getline(cin, n_temp);
}