All lessons

Numbers & Math

7 min · OCaml

Do math with whole-number operators.

OCaml · Numbers & Math0/5 cleared

Enemy 1 of 5

Whole-number operators are + - * / . print_int prints a number; follow it with print_newline () to end the line.

You
Bug Slime

Loading editor...

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