왜 범위를 > 초과 < 미만 으로 설정했는데 경계 값인 10이나 0을 넣어도 puts("end")로 넘어 가는지 모르겠어요
69
차희원
작성한 질문수 12
0
#include <stdio.h>
int main(void)
{
int nInput = 0;
again:
printf("Enter nInput: ");
scanf_s("%d", &nInput);
if (nInput > 10 || nInput < 0)
{
printf("Enter number 1 ~ 9\n");
goto again;
}
puts("end");
return 0;
}
답변 1
L2_P12_priority_data_controller 코드 리뷰 부탁드립니다.
1
54
2
기존 미국주식 자동매매 프로그램과 같은 AWS 서버에서 돌리려고 할때
1
62
1
1- 피그마 기본 프레임 예제
1
54
2
강의 전체 수강 및 수료 관련
1
53
1





