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

 

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

Write a method that accepts four integer input parameters which will each be a single-digit non-negative integer. Each of these digits represents a single digit of a larger number (up to a four-digit number if 'a' is non-zero). For example, with the input parameter values of 4, 5, 2, and 1, the method must return the value of 4521. Look at the test data for further examples.


dec16_2019_APP1SLHL_makeBigNum(4, 5, 2, 1) → 4521
dec16_2019_APP1SLHL_makeBigNum(1, 2, 3, 4) → 1234
dec16_2019_APP1SLHL_makeBigNum(0, 0, 4, 7) → 47

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

public int dec16_2019_APP1SLHL_makeBigNum(int a, int b, int c, int d) { }

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: 290

Copyright Nick Parlante 2017 - privacy