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

 

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

Write a method that counts how many elements of the array 'nums' are greater than the value of 'big'. Return how many elements of the array are greater than 'big'. Look at the test data for examples.


countBigUCF([5, 14, 532, 9421, 412, 53, 7], 300) → 3
countBigUCF([5, 14, 532, 9421, 412, 53, 7], 3000) → 1
countBigUCF([5, 14, 532, 9421, 412, 53, 7], 13000) → 0

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

public int countBigUCF(int[] nums, int big) { }

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