Answer Posted / deepshree sinha
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
printf("enter any three numbers");
scanf("%d %d %d",&a,&b,&c);
if(a>b)
{
if(a>c)
printf("the biggest no.=%d",a);
else
printf("the biggest no.=%d',c);
}
else
{
if(b>c)
printf("the biggest no.=%d",b);
else
printf("the biggest no.=%d",c);
}
getch();
}
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
Why is c so important?
What is local and global variable in c?
What does nil mean in c?
Why c is called procedure oriented language?
what will be the output for the following main() { printf("hi" "hello"); }
What is the default value of local and global variables in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Define recursion in c.
Write a program of advanced Fibonacci series.
What is double pointer in c?
What is a keyword?
Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
Which is better pointer or array?
What is selection sort in c?