Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- #define ll long long int
- #define optimize() \
- int main()
- {
- ll i=1;
- while(1)
- {
- string s;
- cin >> s;
- if(s=="HELLO")
- {
- cout << "Case " << i << ": " << "ENGLSH" << endl;
- i++;
- }
- else if(s=="HOLA")
- {
- cout << "Case " << i << ": " << "SPANISH" << endl;
- i++;
- }
- else if(s=="HALLO")
- {
- cout << "Case " << i << ": " << "GERMAN" << endl;
- i++;
- }
- else if(s=="BONJOUR")
- {
- cout << "Case " << i << ": " << "FRENCH" << endl;
- i++;
- }
- else if(s=="CIAO")
- {
- cout << "Case " << i << ": " << "ITALIAN" << endl;
- i++;
- }
- else if(s=="ZDRAVSTVUJTE")
- {
- cout << "Case " << i << ": " << "RUSSIAN" << endl;
- i++;
- }
- else if(s=="#") break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement