-
for (cnt = 0; cnt < 10; cnt++)
{
printf("input number %d times :", cnt + 1);
scanf_s("%d", &num);
sum += num;
continue;
}
int cnt = 0
while ( cnt < 10 )
printf("input number %d times : ", ++cnt);
댓글