문제 링크
주어진 문자열이 6개의 나라 중 어느 나라의 인사말인지 대답하면 되는 문제
그냥 분기 구현 문제
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define INF 1000000000
int t;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
for (int tc = 1; ; tc++){
string s;
cin >> s;
if (s == "#") break;
cout << "Case " << tc << ": ";
if (s == "HELLO")
cout << "ENGLISH" << '\n';
else if (s == "HOLA")
cout << "SPANISH" << '\n';
else if (s == "HALLO")
cout << "GERMAN" << '\n';
else if (s == "BONJOUR")
cout << "FRENCH" << '\n';
else if (s == "CIAO")
cout << "ITALIAN" << '\n';
else if (s == "ZDRAVSTVUJTE")
cout << "RUSSIAN" << '\n';
else
cout << "UNKNOWN" << '\n';
}
}