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

 

abraskin@mbusd.org > countM_AfterN
prev  |  next  |  chance

Given two numbers n and m, return a String that that includes the next m integers after n. For example, if n is 0, and m is 10, the String would be "12345678910"


countM_AfterN(1, 3) → "234"
countM_AfterN(9, 9) → "101112131415161718"
countM_AfterN(123, 5) → "124125126127128"

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

public String countM_AfterN(int n, int m) { }

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

Copyright Nick Parlante 2017 - privacy