Question: 25 1 a) Write a CH+ programme that reads a sentence, input by the user and displays a breakdown of how many each letter in

 25 1 a) Write a CH+ programme that reads a sentence,

25 1 a) Write a CH+ programme that reads a sentence, input by the user and displays a breakdown of how many each letter in the English alphabets was repeated. For example, the sentence how are you will display: a appeared 1 time/s b appeared o time/s c appeared o time/s d appeared o time/s e appeared 1 time/s The list continues for the 26 letters. You can assume the following simplifications about the input to the programme: -All letters are lower case. -No symbols or numbers will be in the sentence. - No error handling is required. 10 b) Draw a flow chart of an algorithm you propose for a CH programme used to book a flight ticket. The programme will be used by a travel agent to do the following tasks (no code is required): - List all passengers on a given flight. - Retrieve information of a passenger

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!