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

 

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

Write a method that matches this test data. You must first figure out what is going on! As preconditions you may assume that 'first' and 'last' are both letters and that they are the same case (either both uppercase or both lowercase). You may also assume that 'first' comes alphabetically before 'last'. Obviously, look at the test data!!!


quiz2024_02_20_P1SLHL_letterCodes("w", "z") → "wxyz:xyz:yz:z"
quiz2024_02_20_P1SLHL_letterCodes("o", "p") → "op:p"
quiz2024_02_20_P1SLHL_letterCodes("r", "u") → "rstu:stu:tu:u"

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

public String quiz2024_02_20_P1SLHL_letterCodes(char first, char last) { }

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

Copyright Nick Parlante 2017 - privacy