C Program to find biggest of two no by using ternary numbers
# include <stdio.h>
# include <conio.h>
main( )
{
int a,b,big;
clrscr( );
printf(“enter value a”);
scanf(“%d”,&a);
printf(“enter the value of b”);
scanf(“%d”,&b);
big=(a>b)?a:b;
printf(“biggest of the given numbers IS
%d”,big);
getch();
}
Save
Save