Since kindergarten, we are taught how to determine the relationship between two integers/numbers, if it is equal to or not equal to than the other number. So I made a program that is used to determine the relationship between two integers/numbers easily. The program that is shown below is more faster in figuring out the relationship and more useful when teaching your younger ones. Check out the codes below.
#include<stdio.h> #include<conio.h> main() { int var1, var2; printf("Enter two numbers and I will tell you \n the relationships they satisfy: "); scanf("%d%d", &var1, &var2); if(var1==var2) printf("%d is equal to %d\n", var1, var2); else printf("%d is not equal to %d\n", var1, var2);