반응형
문제 : https://www.acmicpc.net/problem/1330
풀이과정
if-else 이용
전체코드(C++14)
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a > b) cout << ">";
else if (a < b) cout << "<";
else cout << "==";
}
![](https://tistory1.daumcdn.net/tistory/3100723/skin/images/app_ad_1024x500_pastweather.png)
최근댓글