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

 

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

Write a method that returns the sum of the two integer parameters. Yes, it is THAT easy! :)


rrr1addNums(5, 3) → 8
rrr1addNums(241, 2) → 243
rrr1addNums(9, 32) → 41

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

public int rrr1addNums(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

Difficulty: 250

Copyright Nick Parlante 2017 - privacy