Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 246 Bytes

File metadata and controls

18 lines (15 loc) · 246 Bytes

Multiplication

You can multiply any two ints using the * operator.

~void main() {
// x will be 15
int x = 3 * 5;
// y will be 75
int y = x * 5;
// z will be 1125
int z = x * y;

IO.println(x);
IO.println(y);
IO.println(z);
~}