id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

jebbert@volusia.k12.fl.us > quiz2021_11_16_APSLHL_cost
prev  |  next  |  chance

Write a method that works the way this test data shows it should.


quiz2021_11_16_APSLHL_cost(-1) → "$-1 dollar"
quiz2021_11_16_APSLHL_cost(-5) → "$-5 dollars"
quiz2021_11_16_APSLHL_cost(0) → "$0 dollars"

...Save, Compile, Run (ctrl-enter)

public String quiz2021_11_16_APSLHL_cost(int money) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 210

Copyright Nick Parlante 2017 - privacy