beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Practice with Primitive Types

Geoffrey Challen // 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