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

 

siochi@cnu.edu > sumOfInts
prev  |  next  |  chance

sumOfInts() -- given two integers, num1 and num2, return their sum.


sumOfInts(1, 2) → 3
sumOfInts(0, 0) → 0
sumOfInts(1, 1) → 2

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

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

Difficulty: 100

Copyright Nick Parlante 2017 - privacy