Advertisement
otot957

Untitled

Aug 5th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.48 KB | None | 0 0
  1. #include <iostream>
  2. #include<array>
  3. #include <bits/stdc++.h>
  4. #include<string>
  5. using namespace std;
  6. int main ()
  7.  
  8.  
  9.  
  10. {
  11.     int n=0,x,y,px,py;
  12.     string s;
  13.     cin>>s;
  14.     while(s.compare("*")!=0){
  15.             n++;
  16.             if(s.compare("Hajj")==0)
  17.                 {cout<<"Case "<<n<<": "<<"Hajj-e-Akbar"<<endl;}
  18.             else if(s.compare("Umrah")==0)
  19.                 {cout<<"Case "<<n<<": "<<"Hajj-e-Asghar"<<endl;}
  20.  
  21.  
  22.         cin>>s;
  23.     }
  24.  
  25.  
  26.     return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement