C Program to Read Three Numbers & Print The Biggest Number
# include <stdio.h> # include <conio.h> main( ) { int a,b,c,big=0; clrscr( ); printf(“ENTER VALUE FOR A:”); scanf(“%d”,&a); printf(“ENTER VALUE FOR B:”); scanf(“%d”,&b); print(“ENTER VALUE FOR C:”); scanf(“%d”,&c); if (a>big) big=a ; if(b>big) include <stdio.h> # include <conio.h> main( ) { int a,b,c,big=0; clrscr( ); printf(“ENTER VALUE FOR A:”); scanf(“%d”,&a); printf(“ENTER VALUE FOR B:”); scanf(“%d”,&b); print(“ENTER VALUE FOR C:”); scanf(“%d”,&c); if (a>big) big=a ; if(b>big) big=b; if (c>big) big=c; printf (“BIGGEST OF ABOVE GIVEN THREE NUMBER IS %d”,big) getch( ); }