using of and || c++

#include <iostream>

int main() {
    int x = 5;
    int y = 10;

    if (x > 0 && y > 0) {
        std::cout << "Both x and y are greater than 0." << std::endl;
    }

    if (x > 0 || y > 0) {
        std::cout << "At least one of x and y is greater than 0." << std::endl;
    }

    return 0;
}