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

 

pais@kinetigram.com > L15_icyHot
prev  |  next  |  chance

APCS Logic 1, Problem 5. Given two temperatures, return true if one is less than 0 and the other is greater than 100.


L15_icyHot(120, -1) → true
L15_icyHot(-1, 120) → true
L15_icyHot(2, 120) → false

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

public boolean L15_icyHot(int temp1, int temp2) { }

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: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy