diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/f2c-1.png | bin | 19070 -> 23490 bytes | |||
-rw-r--r-- | html/f2c-2.mu | 9 | ||||
-rw-r--r-- | html/f2c-2.png | bin | 18823 -> 24515 bytes |
3 files changed, 9 insertions, 0 deletions
diff --git a/html/f2c-1.png b/html/f2c-1.png index 89f80094..c15b1fe2 100644 --- a/html/f2c-1.png +++ b/html/f2c-1.png Binary files differdiff --git a/html/f2c-2.mu b/html/f2c-2.mu new file mode 100644 index 00000000..ded2a640 --- /dev/null +++ b/html/f2c-2.mu @@ -0,0 +1,9 @@ +# c = (f-32) * 5/9 +def fahrenheit-to-celsius [ + local-scope + f:number <- next-ingredient + tmp:number <- subtract f, 32 + tmp <- multiply tmp, 5 + c:number <- divide tmp, 9 + return c +] diff --git a/html/f2c-2.png b/html/f2c-2.png index 19b6f110..23a2fd38 100644 --- a/html/f2c-2.png +++ b/html/f2c-2.png Binary files differ |