subject

Write a program that reads a one-line sentence as input and then displays the following response: If the sentence ends with a question mark and the input contains an even number of characters, display the word Yes. IF the sentence ends with a question mark and the input contains an odd amount of characters, display the word No. If the sentence ends with an exclamation point, display the word Wow. In all other cases display the words You always say followed by the input string enclosed in quotes.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
Once a vulnerability has been identified by nessus, where would you check for more information regarding the identified vulnerability, exploits, and any risk mitigation solution?
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
Me on this app how do you take a picture of your work
Answers: 1
question
Computers and Technology, 25.06.2019 07:00
Asap 50 points ( paragraph pls) discuss the role of the concept behind the "internet of things (iot)" in today's digitally connected society.
Answers: 2
You know the right answer?
Write a program that reads a one-line sentence as input and then displays the following response: If...
Questions
question
Health, 25.02.2020 13:29
question
Health, 25.02.2020 13:37
question
History, 25.02.2020 13:41
question
English, 25.02.2020 13:43
question
Mathematics, 25.02.2020 13:44
question
Mathematics, 25.02.2020 13:47
question
Computers and Technology, 25.02.2020 13:48
question
Chemistry, 25.02.2020 13:51
question
English, 25.02.2020 13:57