ok so here is goes heres the question
Write a JAVA program that takes a one-line sentence as input and then 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, output the word “No”. 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. 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.
i am completely lost ive looked in the text book for some tips to solving this problem and ive come up empty handed if anyone has any tips on approaching this problem it would be appreciated