All lessons

Numbers & Math

7 min · Java

Do math with int variables and the basic operators.

Java · Numbers & Math0/5 cleared

Enemy 1 of 5

Whole numbers use the int type. The operators are + - * / .

Store the parts, then combine them inside println.

You
Bug Slime

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: 15