about | help | code help+videos | done | prefs |
Write a method that accepts an integer 'funds' and returns a string with a statement saying you have that amount of money in dollars. Make sure your pluralization is correct! You should ONLY use singular if you have 1 dollar. Look at the test data for examples! test2021_09_02_APSLHL_money(53) → "You have 53 dollars" test2021_09_02_APSLHL_money(1) → "You have 1 dollar" test2021_09_02_APSLHL_money(4) → "You have 4 dollars" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 250
Copyright Nick Parlante 2017 - privacy