Wednesday, January 29, 2014

Section 3.1: Numbers - Literals




40038:  Write a floating point literal corresponding to the value zero.

     0.00

40039:  Write a literal corresponding to the floating point value one-and-a-half.

     1.5

40040:  Write a literal corresponding to the value of the first 6 digits of PI ("three point one four one five nine").

     3.14159


No comments:

Post a Comment