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

 

simona1@sfusd.edu functions1 > getRemainder
prev  |  next  |  chance

Given two integer numbers, return the remainder of the first number divide by the second one


getRemainder(8, 3) → 2
getRemainder(9, 3) → 0
getRemainder(11, 5) → 1

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

public int getRemainder(int num1, int num2){ }

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

Copyright Nick Parlante 2017 - privacy