CMSC 160 -- Quiz 2

Quiz 2

  1. What is the assignment operator?
  2. Write one line of code to declare and initialize a variable to store the number of bald eagles living in farmville.
  3. Write one line of code to print out previous variable's value to the screen.
  4. Write one line of code to read a value in from the keyboard into the previous variable.