12345678
//Example int n; cin >> n; //Entering 7 loop(7 times) { //code }
123456
int n; cin >> n; for (int i = 0; i < n; i++) { //code }
1234567891011
#include <iostream> #include <string> int main() { int loop_limit; std::cin >> loop_limit; for (int i = 0; i < loop_limit; i++) std::cout << "Try doing it yourself Cosmin!\n"; }