Advertisement
alberthrocks

test_prec.c OUTPUT

Sep 24th, 2013
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.23 KB | None | 0 0
  1. # Output of test_prec.c
  2. $ gcc test_prec.c -o test_prec; ./test_prec
  3. rounded to nearest because 3.14159 = 3.14
  4. rounded to nearest because 3.14159 = 3.1416
  5. NOT rounded up because 1.561 = 1.56
  6. NOT rounded down because 1.565 = 1.56
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement