#include<stdio.h> #include<conio.h> void main() { int a,b; /* for two numbers a & b */ clrscr(); printf("Enter the numbers \n"); scanf("%d%d",&a,&b); if(a>b) /* check for a is largest and gives true when a is largest otherwise false */ printf("largest=%d\n",a); if(b>a) /* check for b is largest and gives true when b is largest otherwise false */ printf("largest=%d\n",b); getch(); } output 1: Enter the numbers 15 17 largest=17 output 2: Enter the numbers 40 35 largest=40