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

 

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

Write a method that returns all the letters between 'startLtr' and 'endLtr', inclusive. As a precondition you may assume that they will both be capital letters or they with both be lower case letters. You may also assume that 'startLtr' does NOT come alphabetically after 'endLtr'. Look at the test data for examples.


quiz2022_03_09_APSLHL_letters("d", "f") → "def"
quiz2022_03_09_APSLHL_letters("I", "Q") → "IJKLMNOPQ"
quiz2022_03_09_APSLHL_letters("O", "P") → "OP"

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

public String quiz2022_03_09_APSLHL_letters(char startLtr, char endLtr) { }

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

Copyright Nick Parlante 2017 - privacy