teddy8 Full Stack Software Engineer

CodeUp - 기초100제(1051)

2019-06-19
teddy8

문제

URL : https://codeup.kr/problemsetsol.php?psid=23


소스코드

// 두 정수 입력받아 비교3
// b가 a보다 크거나 같으면 1
// 그렇지 않은 경우 0
#include <iostream>

using namespace std;

int main()
{
	int n1, n2;
	cin >> n1 >> n2;
	cout << (n1 <= n2);
	return 0;
}


Comments

Content