biggest of two no's with out using if condition statement
Answer Posted / jasna.c
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,big;
printf("\nEnter the two numbers ");
scanf("%d%d",&a,&b);
big=(a>b)?a:b;
printf("\n The biggest number is %d",big);
getch();
}
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is the general form of a C program?
What is operator precedence?
What is the stack in c?
What are the different types of control structures?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
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
Can you write a programmer for FACTORIAL using recursion?
How can I find out how much free space is available on disk?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Explain how can you be sure that a program follows the ansi c standard?
Can one function call another?
What is f'n in math?
What are the benefits of c language?
Is void a keyword in c?
Why is c called a mid-level programming language?