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

 

andersoniii.edwin@cusd80.com > weaveNumbers3
prev  |  next  |  chance

Weaving Numbers3- This is a new number game - Given two numbers write a program that will "weave" the numbers together. Start by taking the leading digit from largest integer and then a leading digit from the other integer. Continue alternating digits (regardless of the size of the digit). Return the resulting "Weave Number".


weaveNumbers3(1234, 567) → 1526374
weaveNumbers3(1, 222222) → 2122222
weaveNumbers3(0, 345) → 3045

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

public int weaveNumbers3(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: 111

Copyright Nick Parlante 2017 - privacy