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

 

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

Write a method that returns the sum of the ones places of the two integer input parameters. Look at the test data for examples.


dec18_2017_APSLHL_addOnesPlaces(1278, 124) → 12
dec18_2017_APSLHL_addOnesPlaces(29487, 14241) → 8
dec18_2017_APSLHL_addOnesPlaces(9284, 490) → 4

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

public int dec18_2017_APSLHL_addOnesPlaces(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: 210

Copyright Nick Parlante 2017 - privacy