id/email
password
forgot password
about | help | done | prefs | create account
JavaBat java practice problems

AP-1 > scores100
prev  |  next  |  chance

Given an array of scores, return true if there are scores of 100 next to each other in the array. The array length will be at least 2.

scores100({1, 100, 100}) → true
scores100({1, 100, 99, 100}) → false
scores100({100, 1, 100, 100}) → true

...Save, Compile, Run

See Also: Example Code Java help: If Boolean Logic | Strings | While and For Loops | Arrays and Loops


prev  |  next  |  chance   |  JavaBat  >  AP-1

Forget It! -- delete my code for this problem 206.0

Copyright Nick Parlante 2006-09 - privacy