Node:Questions for Chapter 7, Previous:Logical operators, Up:Expressions and operators



Questions for Chapter 7

  1. What is an operand?
  2. Write a short statement that assigns the remainder of 5 divided by 2 to a variable called remainder and prints it out.
  3. Write a statement that subtracts -5 from 10.