#include'stdio.h' void main() { int a,b; clrscr(); printf("Enter the First No:"); Scanf("%d",&a); printf("Enter the Second No:"); Scanf("%d",&b); If(a>b) { printf("%d is the Greater No.",a); } else if { printf("%d is the Greater No.",b); } else if { printf("Eqal No.s") } getch(); }
Operator Meaning < is less than <= is less than or equal to > is greater than >= is greater than or equal to == is equal to != is not equal to