Skip to content

Instantly share code, notes, and snippets.

@Baekjoon
Created May 13, 2015 08:33
Show Gist options
  • Save Baekjoon/6f81d16dd22ee30fa323 to your computer and use it in GitHub Desktop.
Save Baekjoon/6f81d16dd22ee30fa323 to your computer and use it in GitHub Desktop.
if3
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a == b) {
cout << "같다" << endl;
} else if (a < b) {
cout << "작다" << endl;
} else if (a > b) {
cout << "크다" << endl;
} else if (a != b) {
cout << "같지않다" << endl;
} else {
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment