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
What is difference between main and void main?
why wipro wase
Explain what header files do I need in order to define the standard library functions I use?
What are the features of c languages?
What are reserved words with a programming language?
What is logical error?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is zero based addressing?
Why is c called "mother" language?
Can we declare function inside main?
There seem to be a few missing operators ..
What is formal argument?
Can a variable be both constant and volatile?
Can math operations be performed on a void pointer?
Can a pointer be static?