Basic Syntax & Types

Watch the video on basic syntax and data types, then do the lab!

Basic Syntax & Types Lab

Download and unzip the file below. In SyntaxTypesLab.cs, declare and initialize the following variables:

  • short named shortInt
  • int named myInt
  • float named myFloat
  • double named myDouble

initialize the variables to

  • shortInt 234
  • myInt  32444
  • myFloat  32.45
  • myDouble 123.45

Complete and Continue