Wednesday, 26 August 2020

HOW TO FIND BIGGEST NUMBER USING C PROGRAMING?

THE FOLLOWING PROGRAM IS USED TO FIND THE BIGGEST NUMBER.

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("Enter any 2 numbers");
scanf("%d%d",&a,&b);
if(a>=b)
printf("The result is%d",a);
else
{
if(b>=a)
printf("B is big",b);
}
getch();
}


No comments:

Post a Comment

C Programming

What is DBMS in brief?

A Database Management System (DBMS) is a software suite designed to efficiently manage, organize, store, manipulate, and retrieve data. It a...