본문 바로가기
Thinking/BAEKJOON

C++ BAEKJOON 10869번 사칙연산

by Dev_카페인 2022. 8. 15.
반응형

[C++] BAEKJOON 10869번 : 사칙연산

 

#include <iostream>
using namespace std;

int main()
{
	int a, b;
	cin >> a;
	cin >> b;
	
	cout << a + b << endl;
	cout << a - b << endl;
	cout << a * b << endl;
	cout << a / b << endl;
	cout << a % b << endl;

	return 0;
}
반응형