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

 

fizzbuzz-code > fizzArray3
prev  |  next  |  chance

Given start and end numbers, return a new array containing the sequence of integers from start up to but not including end, so start=5 and end=10 yields {5, 6, 7, 8, 9}. The end number will be greater or equal to the start number. Note that a length-0 array is valid. (See also: FizzBuzz Code)


fizzArray3(5, 10) → [5, 6, 7, 8, 9]
fizzArray3(11, 18) → [11, 12, 13, 14, 15, 16, 17]
fizzArray3(1, 3) → [1, 2]

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

public int[] fizzArray3(int start, int end) { }

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

Copyright Nick Parlante 2017 - privacy