#include <iostream>
using namespace std;
int main() {
float a, b, c, d, e, f;
int x,y;
cout<<"==================================="<<endl;
cout<<"Contoh Operator Perbandingan"<<endl;
cout<<"==================================="<<endl;
cout<<"Masukan Nilai X \t\t:"; cin>>x;
cout<<"\nMasukan Nilai Y \t\t:"; scanf("%d",&y);
cout<<"\n==================================="<<endl;
cout<<"Nilai X adalah \t\t\t: 8"<<endl;
cout<<"Nilai Y adalah \t\t\t: 9"<<endl;
a = x== y;
b = x!= y;
c = x > y;
d = x < y;
e = x >= y;
f = x <= y;
cout<<"==================================="<<endl;
cout<<" Hasil Dari 8 == 9 \t\t:" << a <<endl;
cout<<" Hasil Dari 8 != 9 \t\t:" << b <<endl;
cout<<" Hasil Dari 8 > 9 \t\t:" << c <<endl;
cout<<" Hasil Dari 8 < 9 \t\t:" << d <<endl;
cout<<" Hasil Dari 8 >= 9 \t\t:" << e <<endl;
cout<<" Hasil Dari 8 <= 9 \t\t:" << f <<endl;
cout<<"==================================="<<endl;
cout<<"Nama : AHMAD LUKMAN"<<endl;
cout<<"NIM : 3420230015"<<endl;
return 0;
}