Practice with Primitive Types 4
Geoffrey Challen // 2021.8.0
Write a snippet of code—not a function— that:
- declares a variable
markof typecharand initializes it toA - declares a variable named
gradeof typedoubleand initializes it to98.8 - declares a variable
ageof typeintand initializes it to42 - declares a variable named
summerIsOverof typebooleanand initializes it totrue