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

 

crehwinkel@frhsd.com > marlboroPigLatin
prev  |  next  |  chance

Write a method called marlboroPigLatin which takes a String as an input parameter and returns a new String in marlboro pig latin form. To create the marlboro pig latin word, take all the consonants until the first vowel in the word and put them at the end of the word, then add "ay". For example marlboroPigLatin("nix") would return the String "ixnay".


marlboroPigLatin("table") → "abletay"
marlboroPigLatin("pig") → "igpay"
marlboroPigLatin("street") → "eetstray"

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

public String marlboroPigLatin(String str){ }

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: 200 Post-solution available

Copyright Nick Parlante 2017 - privacy