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

 

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

Write a method that returns a string that shows the sum of the two integer parameters. For example, the parameters 3 and 7 would return "3+7=10" showing the operation and the result.


bbb1addition(6, 2) → "6+2=8"
bbb1addition(-5, 5) → "-5+5=0"
bbb1addition(5, 3) → "5+3=8"

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

public String bbb1addition(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: 190

Copyright Nick Parlante 2017 - privacy