//C program
//to find largest of three numbers
#include <stdio.h>
int main()
{
int a=1,b=2,c=3;
//Conditions for a greatest
if(a>b && a>c)
printf("%d",a);
//Conditions for b greatest
else if(b>a && b>c)
printf("%d",b);
//remaining Conditions
//for c to be greatest
else
printf("%d",c);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: