Solve: Practice with Primitive Types
Created By: Geoffrey Challen
/ Version: 2020.6.0
Write a snippet of code—not a function—that:
- declares a variable
count of type int and initializes it to 88 - declares a variable named
temperature of type double and initializes it to 14.3 - declares a variable
letter of type char and initializes it to X - declares a variable named
isCSAwesome of type boolean and initializes it to true
For this problem we're expecting just a snippet of code—so don't provide a method or class declaration.