Exercise 13: Number Formatting

Celsius = Kelvin - 273.15.

Fahrenheit = (9/5 * Celsius) + 32

Easy

Rewrite the boiling points table of exercise 10 to use two decimal digits of precision for each value in the table.

Hard

Rewrite the boiling points table to use the same number of significant digits in the output as are provided in the input.


Previous | Next | Top | Cafe con Leche

Copyright 2002, 2003 Elliotte Rusty Harold
Elliotte Rusty Harold
Last Modified October 18, 2002