Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
#include
using namespace std; int main() { int x = 10; int y = 3; cout << (x + y) << "\n"; // 13 cout << (x - y) << "\n"; // 7 cout << (x * y) << "\n"; // 30 cout << (x / y) << "\n"; // 3 (integer division!) cout << (x % y) << "\n"; // 1 int z = 5; ++z; cout << z << "\n"; // 6 --z; cout << z << "\n"; // 5 return 0; }
13
7
30
3
1
6
5