An algorithm to find largest of three numbers.

1) START

2) Enter Any Three numbers as NO1, NO2, NO3

3) Check if ( NO1 > NO2) then continue Else Goto Step 9

4) Check if ( NO1 > NO3) then continue Else Goto Step 7

5) Print NO1 is biggest number

6) GoTo Step 11

7) Print NO3 is biggest number

8) GoTo Step 11

9) Check if ( NO2 > NO3) then continue Else Goto Step 7

10) Print NO2 is biggest number

11) END

Flowchart to find largest of three numbers.

C-Code to find largest between 3 Given numbers using nested if.

#include<stdio.h>
void main()
{                 
int no1,no2,no3;
printf("Enter any three numbers :");
scanf("%d %d %d",&no1,&no2,&no3);
if(no1>no2)
{ 
         if(no1>no3)
                        printf("\nThe biggest number is :%d",no1);
            else
                        printf("\nThe biggest number is %d",no3);
}
else
{    
if(no2>no3)
printf("\nThe biggest number is %d",no2);
else
printf("\nThe biggest number is %d",no3);
} 
}

C-Code to find largest of three numbers using Logical operator.

#include<stdio.h>
// Finding the Biggest number between 3 numbers
void main()
{
int no1,no2,no3;
printf("Enter any three numbers :");
scanf("%d %d %d",&no1,&no2,&no3);
if(no1>no2 && no1>no3)
printf("\nThe biggest number is %d",no1);
else
if(no2>no3)
printf("\nThe biggest number is %d",no2);
else
printf("\nThe biggest number is %d",no3);
} 

C-Code to find largest of three numbers.

#include<stdio.h>
void main()     // Finding the Biggest number between 3 numbers
{
int no1,no2,no3,max=0;
printf("Enter any three numbers :");
scanf("%d %d %d",&no1,&no2,&no3);
if(no1>no2)
max=no1;
    else
max=no2;
   if(no3>max)
max=no3;
printf("\nThe biggest number is %d",max);
}