Program to check if two numbers are equal

#include <stdio.h>

#include <conio.h>
void main()
{
int a,b;

printf(“Enter the values for A and B\n”);
scanf(“%d %d”, &a,&b);

if(a == b )
printf(“Both the numbers are equal”);
else
printf(“Numbers are not equal \n”);

}
output
Enter the values for  A and B
34 45
Numbers are not equal

Mohit Arora
Follow me