From 7f4319465c37ded0086d4323a22a845cf172a2f7 Mon Sep 17 00:00:00 2001 From: Jace Mitsuka Date: Mon, 12 Feb 2018 19:08:10 -1000 Subject: [PATCH] jace --- exercise.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/exercise.js b/exercise.js index 892318d..0352217 100644 --- a/exercise.js +++ b/exercise.js @@ -26,6 +26,7 @@ Create a function that will verify entry for a club. Patrons must be 22 and over /*Mission 5: Team Member: Jace + Create a function that will convert dollars to yen based on today's foreign exchange rate.*/ /*Mission 6: @@ -47,4 +48,7 @@ Create a function that will check your budget. Create the following return state <50 => "Keep coding" >50 => "Donut King!"*/ - +function crypto(USD){ + return(USD * 108.37) +} +console.log("¥" , crypto(100));