Baekjoon 10869
사칙연산


QUESTION ❔



CODE ⌨️

#include <iostream>

using namespace std;

int A, B;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);

	cin >> A >> B;

	cout << A + B << "\n";
	cout << A - B << "\n";
	cout << A * B << "\n";
	cout << A / B << "\n";
	cout << A % B << "\n";

	return 0;
}



RESULT 💛



SIMPLE DISCUSSION ✏️

수학 관련 쉬운 문제였다.



SOURCE 💎

Baekjoon_Link 👈 Click here


*****
NOT A TALENT ❎ NOT GIVING UP ✅
CopyRight ⓒ 2022 DCherish All Rights Reserved.