#include <iostream>
using namespace std;
int main (){
int a = 3, b = 9, c , result;
cout<<"a+b="<<(a+b)<<endl;
cout<<"a-b="<<(a-b)<<endl;
cout<<"a*b="<<(a*b)<<endl;
cout<<"a/b="<<(a/b)<<endl;
cout<<"a%b="<<(a%b)<<endl;
cout<<"a==b is "<<(a==b)<<endl; // if not same than false i.e = 0
cout<<"a>b is "<<(a>b)<<endl;
cout<<"a>=b is "<<(a>=b)<<endl;
cout<<"a<b is "<<(a<b)<<endl;
cout<<"a<=b is "<<(a<=b)<<endl;
cout<<"a!=b is "<<(a!=b)<<endl; //if not same than true i.e = 1
cout<<"++a is "<<(++a)<<endl;
cout<<"--a is "<<(++a)<<endl;
cout<<"a && b is "<<(a && b)<<endl; //both are non zero than it is =1
cout<<"a || b is "<<(a || b)<<endl; // one of them is non zera than it is =1
cout<<"a && b is "<<!(a && b)<<endl; //to change the outcome
cout<<"a="<<a<<endl; //here value of a is 5
cout<<"a+b="<<(a+=b)<<endl;
cout<<"a-b="<<(a-=b)<<endl;
cout<<"a*b="<<(a*=b)<<endl;
cout<<"a/b="<<(a/=b)<<endl;
return 0;
}