1var age=20;
2if (age < 18) {
3 console.log("underage");
4} else {
5 console.log("let em in!");
6}
1if (5 < 10) {
2 console.log("5 is less than 10");
3} else {
4 console.log("5 is now bigger than 10")
5}
1if ( x > 10 )
2{
3cout << "x is greater than 10";
4}
5else
6{
7cout << "x is less than 10";
8}