- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- char str[10];
- int i=1;
- while(cin>>str){
- if(str[0]=='*') break;
- if(strcmp(str,"Hajj")==0)
- cout<<"Case "<<i++<<": Hajj-e-Akbar"<<endl;
- else
- cout<<"Case "<<i++<<": Hajj-e-Asghar"<<endl;
- }
- return 0;
- }
Thursday, 26 April 2018
Subscribe to:
Post Comments (Atom)
variable declaration of c program
#include <stdbool.h> #include<bits/stdc++.h> #include <stdio.h> #include <string.h> #include <std...
-
#include<bits/stdc++.h> #include<cmath> #include<algorithm> #define mx 20000005 using namespace std ; ...
-
#include<stdio.h> #include<string.h> int main ( void ) { char y [ 100001 ] ; int m4,m100,m400,m15...
-
#include<bits/stdc++.h> using namespace std ; int main ( ) { int arr [ 10005 ] ; int n,m,mi,d ; ...
No comments:
Post a Comment