Advertisement
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 arithmetic while initializing.
- */
- int number = 10;
- int otherNumber *= number;
- //otherNumber = otherNumber * number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement