A Developer Gateway To IT World...

Techie Uncle Software Testing Core Java Java Spring C Programming Operating System HTML 5 Java 8 ES6 Project

Write a program to check two big value between three values in C program

Program:

#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c;
printf("Enter the value of a,b & c");
scanf("%d%d%d",&a,&b,&c);
if(a>b)
{
printf("a is big");
}
else
{
printf("b is big");
}
if(a>c)
{
printf(" a is big");
}
else
{
printf("c is big");
}
if(b>c)
{
printf("b is big");
}
else
{
printf("c is big");
}
getch();
}


output:

LEARN TUTORIALS

.

.