and or operator c++ code example
Example 1: or in cpp
a || b = a or b
Example 2: or c++
#include<iostream>
using namespace std;
int main(){
int a;
cin>>a;
if(a >= 18 || a == 17){
cout<<"Sono entrato nel controllo!";
}
else{
cout<<"Controllo Fallito!";
}
}