CPP
cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <iostream>
using namespace std;
int main() {
//The if Statement
if(10 < 20) {
cout << "True" << endl;
}
/*Operadores
>= Maior ou igual a
<= Menor ou igual a
== igual a
!= não é igual
*/
int a = 10;
int b = 20;
if(a < b) {
cout << "Also true" << endl;
}
//The else Statement
int c = 30;
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run