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.

Standard
1.6 Casting and Ranges of Variables
Standard
2.5 Casting
Standard
4.6 Casting
Standard
4.6 Casting
Standard
7.6 Casting and Ranges of Variables
Standard
6.6 Casting and Ranges of Variables