PROGRAM TO FIND GREATEST AMONG THREE NUMBERS

/*PROGRAM TO FIND GREATEST AMONG THREE NUMBERS*/
#include<stdio.h>
#include<conio.h>
void main()
{
float a,b,c;
clrscr();
printf(“Enter any three numbers: “);
scanf(“%f%f%f”,&a,&b,&c);
if((a==b)&&(a==c))
printf(“Numbers are equal.\n”);
else
{
if((a>b) && (a>c))
printf(“%f is largest.\n”,a);
if((b>a)&&(b>c))
printf(“%f is greatest.\n”,b);
if((c>a)&&(c>b))
printf(“%f is greatest.\n”,c);
}
getch();
}