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

 

tmhscs@gmail.com fundamentals > fund_evenlyDivisible
prev  |  next  |  chance

Given two integers, return true if the first integer is evenly divisible by the second. For example, if the first integer is 12 and the second is 3, then you should return true because 12 is evenly divisible by 3.


fund_evenlyDivisible(12, 3) → true
fund_evenlyDivisible(12, 4) → true
fund_evenlyDivisible(12, 5) → false

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

public boolean fund_evenlyDivisible(int a, int b) { }

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

Post-solution available

Copyright Nick Parlante 2017 - privacy