Practice with Primitive Types
Write a snippet of code—not a function—that:
- declares a variable
count
of typeint
and initializes it to88
- declares a variable named
temperature
of typedouble
and initializes it to14.3
- declares a variable
letter
of typechar
and initializes it toX
- declares a variable named
isCSAwesome
of typeboolean
and initializes it totrue