#include <iostream>

using namespace std;

int main()
{
    // 변수 a 에는 참(true), b 에는 거짓(false)으로 초기화했어요.
    int a = true, b = false;
    
    // 괄호 안에 AND 연산자를 사용해 a, b를 AND 연산한 결과를 출력해 주세요.
    cout << () << "\n";
    
    // 괄호 안에 OR 연산자를 사용해 a, b를 OR 연산한 결과를 출력해 주세요.
    cout << () << "\n";
    
    // 괄호 안에 NOT 연산자를 사용해 a의 NOT 연산한 결과를 출력해 주세요.
    cout << ();
    
    return 0;
}

Embed on website

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