Learn to Program with ZedLX

Free Online Programming Course for Beginners

The Type int [10/14]

This program contains an error.

The result of the operator of common division (/) is always of type num.

To correct the error, use the getter .int.

Solution (click):

#int j = (x/3).int;

Loading...