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

 

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

Weaving Numbers- This is a new number game - Given two numbers with four digits each, write a program that will "weave" the numbers together. Take the thousands digit from num1 and then the thousands digit from num2. Continue this pattern and return the resulting "Weave Number".


weaveNumbers1(1234, 5678) → 15263748
weaveNumbers1(1111, 2222) → 12121212
weaveNumbers1(1001, 2002) → 12000012

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

public int weaveNumbers1(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: 110 Post-solution available

Copyright Nick Parlante 2017 - privacy