aboutsummaryrefslogtreecommitdiff
path: root/c/las12uvas/2019/583_toestoEraCampo.cpp
blob: 516af4a81b3b914a8a69ad54cc74fcc10e77f3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>

int main() {
	int abuelo;
	int iglesia;
	std::string salida;
	std::cin >> abuelo;
	std::cin >> iglesia;
	while (abuelo || iglesia) {
		(iglesia > abuelo) ? salida  = "SENIL" :  salida = "CUERDO";
		std::cout << salida << std::endl;
		std::cin >> abuelo;
		std::cin >> iglesia;
	}
}