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

 

apcsaArraysIsItHot


Given a String of temperatures separated by single spaces, count how many of these temperatures are 100 degrees or higher. Return the total count as an integer.


apcsaArraysIsItHot("95 101 105 99") → 2
apcsaArraysIsItHot("100 100 100") → 3
apcsaArraysIsItHot("15") → 0

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

public int apcsaArraysIsItHot(String temps) { }

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: 220

Copyright Nick Parlante 2017 - privacy