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

 

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

Given a char between 'A' and 'Z', recursively (no loops) create a string that consists of all of the letters from 'A' to the given char.


makeAlphabet("A") → "A"
makeAlphabet("D") → "ABCD"
makeAlphabet("G") → "ABCDEFG"

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

public String makeAlphabet(char lastLetter) { }

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

Copyright Nick Parlante 2017 - privacy