beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Practice with Primitive Types 2

Geoffrey Challen // 2020.9.0

Write a snippet of code—not a function—that:

  • declares a variable digit and initializes it to the character 'B'
  • declares a variable named airTemperature and initializes it to 78.8
  • declares a variable score and initializes it to 99
  • declares a variable named semesterHasStarted and initializes it to true