Practice with Primitive Types 2
Geoffrey Challen // 2020.9.0
Write a snippet of code—not a function— that:
- declares a variable
digitof typecharand initializes it toB - declares a variable named
airTemperatureof typedoubleand initializes it to78.8 - declares a variable
scoreof typeintand initializes it to99 - declares a variable named
semesterHasStartedof typebooleanand initializes it totrue