Master Yoda Problem

account_circle Unassigned
schedule 3 Hours
account_balance_wallet $5

(String) Master Yoda (a character from the Star Wars Movies) always phrases his
sentences by placing the object before the subject and verb.
For example:
Normal sentence: "He is your father!"
Yoda speak: "Your father, he is"
Normal sentence: "You are going to win."
Yoda speak: "Going to win, you are"
- You can assume every normal sentence ends with punctuation.
- Punctuation conversion is needed.
- Case conversion is a plus

Write a complete program with the following function to translate to Yoda speak:
string YodaSpeak( string input )
//Purpose: "Translate" the input string into Yoda Speak
//Pre: input is a string with words only.
// The subject and the verb are 1 word each.
// The rest can be multiple words.
//Post: Return a string with the Subject and Verb moved to the
// end of the string.

Aug 27th, 2013

Thank you for the opportunity to help you with your question!

in general, do not need to be licensed or pass any standardized (or governmentally regulated) certification tests in order to call themselves "programmers" or even "software engineers.

Please let me know if you need any clarification. I'm always happy to answer your questions.
Jun 14th, 2015

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
Aug 27th, 2013
Aug 27th, 2013
Feb 25th, 2018
Mark as Final Answer
Unmark as Final Answer
Final Answer

Secure Information

Content will be erased after question is completed.

Final Answer