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

 

remainder


Given two integers, numerator and denominator, divide the numerator by the denominator and return the remainder of the operation.


remainder(5, 3) → 2
remainder(3, 2) → 1
remainder(8, 4) → 0

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

public int remainder(int numerator, int denominator) { }

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

Copyright Nick Parlante 2017 - privacy