From 190f46be9144360aa80e9342504b89b2c6d141b6 Mon Sep 17 00:00:00 2001 From: dependable-coder-f3d7 Date: Mon, 31 May 2021 06:20:59 +0000 Subject: [PATCH] Done. --- lib/meal_choice.rb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/meal_choice.rb b/lib/meal_choice.rb index 95220c4..e0037e5 100644 --- a/lib/meal_choice.rb +++ b/lib/meal_choice.rb @@ -1,2 +1,13 @@ # Your code here -# For output purposes, use "puts" instead of "print" or "p" \ No newline at end of file +# For output purposes, use "puts" instead of "print" or "p" + +def meal_choice(veg1, veg2, protein = 'tofu') + puts "What a nutritious meal!" + meal = "A plate of #{protein} with #{veg1} and #{veg2}." + puts meal + return meal +end + +meal_choice('carrots', 'string beans', 'lentils') + +meal_choice('carrots', 'string beans') \ No newline at end of file