#include <iostream>
using namespace std;

int main() {
    int a=6,b=10;
    int c=6,d=10;
    int e=6,f=10;
    cout << (a & b) << endl;
    cout << (c | d) << endl;
    cout << (e ^ f) << endl;
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: