Reference no: EM13848849
Pig Latin is a constructed language where English words are altered according to a simple set of rules.
The objective is to conceal the meaning of the words from others not familiar with the rules. The reference to Latin is a deliberate misnomer, as it is simply a form of jargon, used only for its English connotations as a "strange and foreign-sounding language."
The rules for converting from English to Pig Latin can be elaborate, but we will adopt the following rules which are simpler:
• For words that begin with vowels (a, e, i, o, u), the letters "yay" are added to the end of the word.
• For words that begin with consonants, the initial consonant is moved to the end of the word, and "ay" is added.
Here are some examples:
English Word Pig Latin
egg eggyay
yellow ellowyay
happy appyhay
duck uckday
glove lovegay
pig igpay
banana ananbay
trash rashtay
ugly uglyyay
Create a java application to convert English words to pig Latin using the above rules.
Put the code in a loop to continue prompting for more words to convert.
Here is an example of how the program might appear
Name the Java Class: PigLatinConverter
Java Application 2 - Sentence Analyzer
Create a java application to read a line from the keyboard and display the following statistics.
Number of characters entered in the line
Number of letters in the line
Number of Digits in the line
Number of spaces in the line
Number of uppercase letters in the line
Number of lowercase letters in the line
Here is an example of how the program might appear:
Name the Java Class: SentenceAnalyzer
What amount should sharp report current income tax payable
: There were no deferred income tax rate was 35% in 2009 and 40% thereafter. In its 2011 balance sheet, what amount should sharp report as current income tax payable?
|
Create an object-oriented solution
: Create an object-oriented solution that performs the following tasks:Allows for the entry into the phone book using pre-identified information or user input information
|
What you learned about project management in general
: What you learned about project management in general. Be specific and include references to your sources, one of which may be the textbook. What you thought of PMI's site. Be specific. Generalities will not be sufficient
|
What is the income tax refund receivable
: Year Income (loss) Tax rate Income tax 2009 30,000 35% 10,500 first year of operations 2010 45,000 30% 13,500 2011 (60,000) 30%0 What is the income tax refund receivable?
|
Create a java application to convert english to pig latin
: Create a java application to convert English words to pig Latin using the above rules.
|
What was centipedes income tax payable currently
: In the absence of other temporary or permanent differences, what was Centipede's income tax payable currently, assuming a tax rate of 40%?
|
Show which alternative maximizes expected value
: Outcomes for the three alternatives are expected to be (1) $2,000 in boom or $500 in bust for ORC; (2) $6,000 in boom but $-5,000 (loss) in bust for FBN; and (3) $1,200 for the certificate in either case. Set up a payoff table (decision matrix) fo..
|
Value of the marginal propensity to consume
: What is the value of the marginal propensity to save in economy - What is the value of the marginal propensity to consume?
|
Prepare the compound journal entry to record roberts corp
: Roberts Corp. reports pretax accounting income of $200,000. Prepare the compound journal entry to record Roberts Corp.'s income taxes. Show well-labeled computations.
|