Skip to content

Instantly share code, notes, and snippets.

@keehyun2
Created January 14, 2018 07:20
Show Gist options
  • Save keehyun2/195f0042e9e555e65e4c48ef5ee128f8 to your computer and use it in GitHub Desktop.
Save keehyun2/195f0042e9e555e65e4c48ef5ee128f8 to your computer and use it in GitHub Desktop.
#define _CRT_SECURE_NO_WARNINGS // scanf 보안 경고로 인한 컴파일 에러 방지
#include <stdio.h>
int main()
{
int a, b;
scanf("%d %d", &a, &b); // 표준 입력을 받아서 변수에 저장
printf("%d\n", a + b); // 변수의 내용을 출력
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment