C Program to find the Biggest of Two Numbers

Below is a simple C program to find the biggest of two numbers. The program takes two numbers as input and then compares them to determine which one is greater.

Program :

#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
printf(“Enter First the Number : “);
scanf(“%d”,&a);
printf(“Enter Second the Number : “);
scanf(“%d”,&b);
if(a>b)
{
printf(“%d is the Biggest Number.”,a);
}
else
{
printf(“%d is the Biggest Number.”,b);
}
}

Output :

33 thoughts on “ C Program to find the Biggest of Two Numbers”

Leave a Comment

Your email address will not be published.

Shopping Basket
Verified by MonsterInsights