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

 

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

Return "too cold" if 'temp' is below 'low'. Return "too hot" if 'temp' is above 'high'. Otherwise return "just right".


iglooTemp(54, 35, 100) → "just right"
iglooTemp(18, 32, 90) → "too cold"
iglooTemp(-20, -50, 100) → "just right"

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

public String iglooTemp(int temp, int low, int high) { }

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