MAIN PROGRAM :-
#include <stdio.h>
int main()
{
float a,b,c,large;
printf("enter the 1st no=\n");
scanf("%f",&a);
printf("enter the 2nd no=\n");
scanf("%f",&b);
printf("enter the 3rd no=\n");
scanf("%f",&c);
if(a>b&&a>c)
{
large=a;
}
else if(b>a&&b>c)
{
large=b;
}
else
{
large=c;
}
printf("the largest number is=%f", large);
return 0;
}
INPUT :-
OUTPUT :-
--THANKS FOR VISITING--
i want to more coding . thanks sir
ReplyDeleteOk you can follow our website,
Deletethank you for comment...