No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
Problem: it print "null" in front of every line for example input this is sparta output [COLOR="Green"]null[/COLOR]histay isay partasay [CODE]import java.util.*; public class PigLatin { String[] piggieLatin; String[] sentence; public PigLatin(String[] random) { sentence = random; piggieLatin = new String[sentence.length]; } //repalce everything beside a~z with space public String punctuationFree(String … | |
if a word begins with a vowel (a-e-i-o-u), then "ay" is added to the end of the word (so "idle" -> "idleay", and "often" -> "oftenay"); on the other hand, if a word begins with a consonant, then the first letter is removed, and is placed at the end of … |
The End.