#include <stdio.h> int main(void) { int LED; scanf("%d",&LED); printf("입력이 있으면 1 없으면 0"); if(LED==0) printf("LED ON"); else(LED==0) printf("LED OFF"\); return o; }
Standard input is empty
prog.cpp:11:22: error: stray ‘\’ in program printf("LED OFF"\); ^ prog.cpp: In function ‘int main()’: prog.cpp:11:6: error: expected ‘;’ before ‘printf’ printf("LED OFF"\); ^~~~~~ prog.cpp:13:9: error: ‘o’ was not declared in this scope return o; ^
Standard output is empty