An algorithm to find largest of two numbers.

1) START

2) Enter first number as No1

3) Enter second Number as No2

4) Check if ( No1>No2) then continue Else Goto Step 7

5) Print No1 is biggest number

6) GoTo Step 8

7) Print No2 is biggest number

8) END

Flow Chart to find largest of two numbers

Find the biggest between two given number
Find the biggest between two given number

WAP in C to find largest of two numbers.

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