Question: Task #3: Read a character from the user and output the number of times it occurs in the phrase: "My address is xx xxxxx xxx." (Where the x's represent your address, e.g. "My address is 330...


Question:




Task #3:


Read a character from the user and output the number of times it occurs in the phrase:


"My address is xx xxxxx xxx." (Where the x's represent your address, e.g. "My address is 330 Progress Ave.")



Sample run:


************************************************************


Name: XXXXX                 Student ID: XXXXX                         Sec: 001


************************************************************


My address is 330 Progress Ave.



Enter the character to search for: a



The character 'a' occurs 2 times (s) in the phrase.


************************************************************




I need aFlow chart for Task #3:




Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here