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