Computer Science/백준 알고리즘

[백준] 2558번 A+B - 2 (C++)

roytravel 2022. 3. 16. 23:49
#include <iostream>

using namespace std;

int main(void)
{
	int A = 0;
	int B = 0;
	
	cin >> A >> B;
	
	if (A>0 and B<10)
	{
		cout << A+B << endl;
	}
	
	return 0;
}
저작자표시 (새창열림)