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
When should the const modifier be used?
What was noalias and what ever happened to it?
What does emoji p mean?
What do you mean by c what are the main characteristics of c language?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What does int main () mean?
List some of the static data structures in C?
Why do we use namespace feature?
How do you do dynamic memory allocation in C applications?
What is methods in c?
Wt are the Buses in C Language
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Do you know the use of fflush() function?
What are the benefits of c language?
What are the 5 organizational structures?