Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The operators are the basic math operators: +, -, /, *
- int number = 10 + 2;
- int otherNumber = number * 7;
- You can also perform arithmatic while initializing.
- int number = 10;
- int otherNumber *= number;
- //otherNumber = otherNumber * number
Advertisement
Add Comment
Please, Sign In to add comment