n = 1 | |
while n: | |
str = input() | |
#print('Case no# %d :'%n) | |
if str == '*': | |
break | |
if str == 'Hajj': | |
print("Case %d: Hajj-e-Akbar"%n) | |
elif str == 'Umrah': | |
print("Case %d: Hajj-e-Asghar"%n) | |
n = n+1 |
Subscribe to:
Post Comments (Atom)
-
This problem is quite easy. Look carefully that if we square root s and take it ceil n, then the abscissa or the ordinate will be equal to ...
-
#include<iostream> #include<cstdio> #include<stack> #include<queue> #include<cstring> using namespace st...
-
/*** Md. Nazmul Hasan Shahjalal University of Science & Technology,Sylhet. hasan08sust@gmail.com ***/ #include<iostream> #include...
No comments:
Post a Comment