From abe78a52c3848b903b664da0ad1e5705ec379e63 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 8 Mar 2016 16:39:42 -0800 Subject: 2740 --- html/f2c-1.png | Bin 19070 -> 23490 bytes html/f2c-2.mu | 9 +++++++++ html/f2c-2.png | Bin 18823 -> 24515 bytes 3 files changed, 9 insertions(+) create mode 100644 html/f2c-2.mu diff --git a/html/f2c-1.png b/html/f2c-1.png index 89f80094..c15b1fe2 100644 Binary files a/html/f2c-1.png and b/html/f2c-1.png differ diff --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 Binary files a/html/f2c-2.png and b/html/f2c-2.png differ -- cgit 1.4.1-2-gfad0