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-2.mu | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 html/f2c-2.mu (limited to 'html/f2c-2.mu') 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 +] -- cgit 1.4.1-2-gfad0