Member • Dec 1, 2009
Even/Odd Program in C
Condition :- do not use conditional statement(if,while) ,ternary operator(?)
only use printf and scanf statement and arithmetic operator .
Example: input : Enter number- 22
output : Even
Member • Dec 1, 2009
Member • Dec 1, 2009
Member • Dec 1, 2009
Member • Dec 2, 2009
Member • Dec 2, 2009
Member • Feb 9, 2011
Member • Feb 22, 2011
Umm... I am not too sure that no one was able to solve this program if it was indeed a national level technical event 😀techno_ishantya i'll raj... i have given this program in national level technical event held in over institute
and no one have solve this program
Member • Feb 22, 2011
I guess the html encoding used in CE forums have goofed up the ampersand operator in the scanf statement. You should have at least edited the code before running it just like that by copy paste 😀mohammad yusufishan sir i have tried this code but didn't find the solution it has error in scanf statement