#include <iostream>
using namespace std;
int main() {
puts("=================================");
puts(" Contoh Operator Perbandingan");
puts("=================================");
int x, y;
float a, b, c, d, e, f;
cout<<"Masukan nilai x\t\t: "; cin>>x;
cout<<"\nMasukan nilai y\t\t: "; cin>>y;
a = x == y; b = x != y; c = x > y; d = x < y; e = x >= y; f = x <= y;
cout<<endl;
puts("=================================");
cout<<"Nilai x adalah\t\t: "<< x << endl;
cout<<"Nilai y adalah\t\t: "<< y << endl;
puts("=================================");
cout<<"Hasil dari " << x << " == " << y << "\t: " << a <<endl;
cout<<"Hasil dari " << x << " != " << y << "\t: " << b <<endl;
cout<<"Hasil dari " << x << " > " << y << "\t: " << c <<endl;
cout<<"Hasil dari " << x << " < " << y << "\t: " << d <<endl;
cout<<"Hasil dari " << x << " >= " << y << "\t: " << e <<endl;
cout<<"Hasil dari " << x << " <= " << y << "\t: " << f <<endl;
puts("=================================");
puts("Nama : Irsyad Purbha");
puts("Mobile : 081211683690");
return 0;
}