#include <stdio.h> int main() { int n; // 정수형 변수 n 선언 scanf("%d", &n); // n값은 키보드로 입력 printf("입력받은 값= %d\n", n); // 변수 n의 값 출력 return 0; }
To embed this program on your website, copy the following code and paste it into your website's HTML: