Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

Azure Analytics is a suite made up of which three tools?

Answered: 1 week ago