Question: CHALLENGE ACTIVITY 2 . 1 1 . 2 : Representing text. 5 5 6 8 0 2 4 1 9 2 9 3 4 qx
CHALLENGE
ACTIVITY
: Representing text.
qxzqy
String nameinput is read from input. String str contains a special character. Modify str so the program outputs nameinput followed by can' eat cranberries.
Ex: If the input is Jon, then the output is:
Jon can't eat cranberries printnameinput, str # Output nameinput followed by str separated by a whitespace
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
