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

 

srp4379@lausd.net quiz2 > countNoFactor5
prev  |  next  |  chance

public int countNoFactor5(int[] nums). Given an array of integers, return the NUMBER of elements in the array that are NOT evenly divisible by 5.


countNoFactor5([5, 10, 15, 20]) → 0
countNoFactor5([1, 2, 3, 4, 5]) → 4
countNoFactor5([4, 8, 12, 16, 20]) → 4

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

public int countNoFactor5(int[] nums) { }

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

Copyright Nick Parlante 2017 - privacy