#include <stdio.h> // stdio 헤더파일 포함
// stdio.h : 표준 입출력 함수를 선언한 헤더파일
// std: standard 표준
// io: input입력 output출력
// scanf(), printf()가 여기에 선언되어있음

int main(void)
{
    int num1=5;
    scanf("%d",&num1); // 입력 받을 데이터의 자료형, 입력값을 저장할 대상(주소)
    
    printf("%d", num1*num1); // 출력 대상에 계산식 넣을 수 있음 (주소 필요없음)
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: