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”);
printf(“Numbers are not equal \n”);

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

Mohit Arora
Follow me