Please enable JavaScript to use CodeHS

AP CSA: CON-1.C.1

CodeHS Lessons

The casting operators (int) and (double)can be used to create a temporary value converted to a different data type.

6.6 Casting and Ranges of Variables
7.6 Casting and Ranges of Variables
1.6 Casting and Ranges of Variables