Input
Output
#include <stdio.h> void main() { int n1=5, n2=3, n3=9; //clrscr(); printf("Enter the three different numbers: "); prntf("%d %d %d", n1, n2, n3); if( n1>n2 && n1>n3 ) { printf("%d is the largest number.", n1); } if( n2>n1 && n2>n3 ) { printf("%d is the largest number.", n2); } if(n3>n1 && n3>n2) { printf("%d is the largest number.", n3); } }