Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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, 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started