Question: 3 . Write a program that does the following: a . Use the list of fruits included with the assignment. b . Solve for single
Write a program that does the following:
a Use the list of fruits included with the assignment.
b Solve for single word fruit names first, for extra challenges solve for double word fruit names.
c Asks the user for a sentence.
d Tells the user how many fruits are in that sentence using a conversion specifier.
e Finds and replaces at least one instance of a fruit in the sentence with Brussel Sprouts
f Displays the new sentence to the user.
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
