Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<array>
- #include <bits/stdc++.h>
- #include<string>
- using namespace std;
- int main ()
- {
- int n=0,x,y,px,py;
- string s;
- cin>>s;
- while(s.compare("*")!=0){
- n++;
- if(s.compare("Hajj")==0)
- {cout<<"Case "<<n<<": "<<"Hajj-e-Akbar"<<endl;}
- else if(s.compare("Umrah")==0)
- {cout<<"Case "<<n<<": "<<"Hajj-e-Asghar"<<endl;}
- cin>>s;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement