Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:00, SuperWoman9172
What is one of the main problems that can occur when implementing a large number of new systems within an organization?
Answers: 1
image
Computers and Technology, 24.06.2019 06:50, emmv565628
What are the things you are considering before uploading photos on social media?
Answers: 1
image
Computers and Technology, 24.06.2019 23:00, Jennifer312332
Hypertension occurs when blood pressure is too high.
Answers: 1
image
Computers and Technology, 25.06.2019 03:00, achewitt3965
What judgment would you make about open systems interconnect? not useful that it is a technology that it is a model that it does not pertain to technology
Answers: 1
Do you know the correct answer?
Write a program that reads a one-line sentence as input and then displays the following response: If...

Questions in other subjects:

Konu
Mathematics, 04.04.2022 17:10
Konu
Chemistry, 04.04.2022 17:20