https://www.acmicpc.net/problem/1330
#include <iostream>
using namespace std;
int main()
{
int a, b;
cin >> a;
cin >>b;
if (a>b) cout << ">" << endl;
else if(a<b) cout << "<" << endl;
else if(a==b) cout << "==" << endl;
return 0;
}
'C++ > C++ : BAEKJOON' 카테고리의 다른 글
[백준] 14681번 사분면 고르기 C++ (1) | 2024.09.07 |
---|---|
[백준] 2753번 윤년 c++ (0) | 2024.09.07 |
[백준] 11382번 꼬마 정민 C++ (0) | 2024.09.03 |
[백준] c++ 2558번 곱셈 문제 (0) | 2024.09.03 |