Find Largest of 3 Numbers program in C CPP Java Python

int main()
float num1,num2,num3;
//Ask user to input any three integer numbers
printf("\nEnter three numbers:");
//Store input values in variables for comparsion
scanf("%f %f %f",&num1,&num2,&num3);
printf("\n Number1 is greatest");
else if((num2>num3)&&(num2>num1))
printf("\n Number2 is greatest");
printf("\n Number3 is greatest");
return 0;
Last updated on by vishal devxo