guys i really need your help about my project anyone can help me i will appreciate it because its due on 3/3/11.
thank you and GOD bless!
1.Write a program that takes a one-line sentence as input and outputs the following response: If the sentence ends with a question mark ‘?’ and the input contains an even number of characters, then output the word “Yes”. If the sentence ends with a question mark ‘?’ and the input contains an odd number of characters, then output the word “No”. If the sentence ends with an exclamation mark ‘!’, output the word “Wow”. In all other cases, your program will output the string You always say followed by the input string enclosed in quotes. Your output should all be on one line.
2.Be sure to note that in the last case, your output must include quotation marks around the echoed input string. In all other cases, there are no quotes in the output. Your program does not have to check the input to see that the user has entered a legitimate sentence. Test your program with at least 4 strings of different lengths and ending punctuation.