~cpp
#include <iostream>
using namespace std;
int main(void)
{
int num;
cin >> num;
if (num >= 1 && num <= 10) {
for (int i = 1; i <= num; i++) {
if (i == 5) continue;
cout << i;
}
}
return 0;
}
Retrieved from http://wiki.zeropage.org/wiki.php/데블스캠프2006/월요일/연습문제/기타문제/윤성준 last modified 2021-02-07 05:29:02