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

 

davereed@creighton.edu csc222 > adverbize
prev  |  next  |  chance

adverbize() -- You are to turn a noun into an adverb by concatenating "ly" onto the end. If the word ends in a y, however, you should simply return "SPECIAL" since special rules must apply in order to adverbize it. Note: you may assume that the nouns are all lower-case and contain at least one letter.


adverbize("glad") → "gladly"
adverbize("sour") → "sourly"
adverbize("happy") → "SPECIAL"

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

public String adverbize(String noun) { }

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