A program that read two number & display bit-wise OR in Cpp.

#include<stdio.h>
#include<conio.h>
#include<iostream.h>

void main()
{
    int x,y,z;
    clrscr();
    cout<<"Enter first number, x= : ";
    cin>>x;

    cout<<"Enter second number, y= : ";
    cin>>y;

    z=x|y;

    cout<<x<<"  |"<<y<<"= "<<z;
    getch();
}


////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........