Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming

The Type int [1/14]

The Type int

The type int represents whole numbers.

A variable of type int cannot be assigned a value that is not a whole number.

Both types num and int are commonly needed in many programs. A count of anything (chairs, apples, people) is always of type int. Knowing that a value is of a particular type can be immensely helpful, especially when writing computer programs.

Loading...