Help me in solving CPPFALL38 problem

My issue

int main() {

bool x = true;
bool y = false;
cout << x << 1;    //x and y need to be cout on separate lines
cout << y; 

}correct this code

My code

#include <iostream>
using namespace std;

int main() {
    
    bool x = true;
    bool y = false;
    cout << x << 1;    //x and y need to be cout on separate lines
    cout << y; 
}

Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/SITFALL07/problems/CPPFALL38