Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

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...