Numeric expressions

This assignment will test your ability to write programs using numeric expressions.

What are the values of the following numeric expressions:

  1. 3+7-4*2
  2. (3+7)*(4-2)+(7-2)
  3. ((3+7)*(4-2)+(7-2))/2
  4. 3/9
  5. 8/3+14
  6. 8\3+14
  7. 10*2^4

Print the values and turn them in.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.