#include <stdio.h>
int main() {
/*
int a; //변수 선언
a = 10; //초기화
int b = 20; //변수 선언과 초기화
float c = 1.2; //실수형 변수
printf("%d\n", a);
printf("%d\n", 100+50);
printf("%d %d %f\n", b, a, c);
printf("%d x %d = %d\n", 3, 7, 3*7);
*/
int a, b;
scanf("%d %d", &a, &b); //입력
printf("%d\n", a+b);
printf("%d\n", a-b);
printf("%d\n", a*b);
printf("%d\n", a/b);
printf("%d\n", a%b);
const int c = 2026; //상수 선언
printf("|\\_/|\n");
printf("|q p| /}\n");
printf("( 0 )\"\"\"\\\n");
printf("|\"^\"` |\n");
printf("||_/=\\\\__|");
}
To embed this project on your website, copy the following code and paste it into your website's HTML: