![[C++]백준 2단계 - 1330번 문제](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2Fc6dDfZ%2FbtrRn0nXtLd%2FAAAAAAAAAAAAAAAAAAAAACH1Et2dEW_CcZDT-rpHy5ImAsvcV3v52GGhrw5CXejV%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1753973999%26allow_ip%3D%26allow_referer%3D%26signature%3DKgYjDQvGLjWHSrfL4t5fAlxq2RU%253D)
[C++]백준 2단계 - 1330번 문제자료구조 & 알고리즘/BOJ2022. 11. 17. 01:45
Table of Contents
간단한 if문 문제
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < b)cout << "<";
else if (a > b) cout << ">";
else cout << "==";
}
'자료구조 & 알고리즘 > BOJ' 카테고리의 다른 글
[C++]백준 2단계 - 2753번 문제 (0) | 2022.11.17 |
---|---|
[C++]백준 2단계 - 9498번 문제 (0) | 2022.11.17 |
[C++]백준 1단계 - 10171번, 10172번, 25083번 문제 (0) | 2022.11.17 |
[C++]백준 1단계 - 2588번 문제 (0) | 2022.11.17 |
[C++]백준 1단계 - 10430번 문제 (0) | 2022.11.17 |