Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int i,n;
- char ch[100];
- for(i=1;;i++)
- {
- gets(ch);
- if(strcmp(ch,"*")==0)
- break;
- if(strcmp(ch,"Hajj")==0)
- printf("Case %d: Hajj-e-Akbar\n",i);
- else if(strcmp(ch,"Umrah")==0)
- printf("Case %d: Hajj-e-Asghar\n",i);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement