~cpp #include <iostream> using namespace std; int main() { for ( int i = 1 ; i <= 10 ; i++) { if ( i == 5 ) continue; else cout << i << endl; } system("pause"); return 0; }
~cpp #include <iostream> using namespace std; int main() { for ( int i = 1 ; i <= 10 ; i++) { if ( i == 5 ) continue; else cout << i << endl; } system("pause"); return 0; }