Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
import rdstdin, strutils, strfmt
|
||||
|
||||
while true:
|
||||
let k = parseFloat readLineFromStdin "K ? "
|
||||
echo "{:g} Kelvin = {:g} Celsius = {:g} Fahrenheit = {:g} Rankine degrees".fmt(
|
||||
k, k - 273.15, k * 1.8 - 459.67, k * 1.8)
|
||||
Loading…
Add table
Add a link
Reference in a new issue