biggest of two no's with out using if condition statement
Answer Posted / partheeban
void main()
{
float i,j;
int a;
printf("Enter two numbers : ");
scanf("%f%f",&i&j);
a=i/j;
if(a)
printf("%f is greater",i);
else
printf("%f is greater",j);
}
Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
How to Throw some light on the splay trees?
Define recursion in c.
What is mean by data types in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is the purpose of void in c?
why do some people write if(0 == x) instead of if(x == 0)?
How can you be sure that a program follows the ANSI C standard?
Difference between strcpy() and memcpy() function?
How do you use a pointer to a function?
What is s in c?
What is extern c used for?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
What is the difference between char array and char pointer?