Interactive 3D world for level 4.3. Hold Control or Command and drag to orbit or scroll to zoom. Touch users can drag or pinch.

Ctrl / ⌘ + drag to orbit · Ctrl / ⌘ + scroll to zoomDrag to orbit · Pinch to zoom

LESSON 4.3

Return a Value

A function can return a result with return ; its return type goes after the colon: fn double(n: Int32): Int32 .

Goal Make the machine double 1, 4, and 10, printing 2 8 20 .

Write a Zirk program, then run it to see the world react.
Sound unavailable in this browser