➽ Program:-
#include<iostream>
using
namespace std;
int
main()
{
int x, y;
cout<<"Enter the Values of X and
Y: ";
cin>>x>>y;
if(x == y)
cout << "X and Y are Equal"
<< endl;
else
cout << "X and Y are not
Equal" << endl;
return 0;
}
➽ Output:-
Enter the Values of X and Y: 7 7
X and Y are Equal
Enter the Values of X and Y: 4 9
X and Y are not Equal
0 Comments
Please do not enter any spam link in the comment section.