ALGORITHM:
Step1:start Step2:input a,b,c Step3:c=(a>b)?a:b Step4:Result c Step 5:stop
C PROGRAM:
#include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter the values of a and b"); scanf("%d %d",&a,&b); c=(a>b)?a:b; printf("The Biggest Number is : %d ",c); getch(); }
OUTPUT:
Enter the values of a and b10 20 The Biggest Number is : 20