Need help with my code basic

Conversion is done as part of the assignment operation. The result on the right is converted to the type on the left. The conversion from 'float' to 'int' is done automatically.