Write a program that reads an input line from the user


Program: Write a program that reads an input line from the user (until the new-line character \n) and displays the number of times each lower-case letter appears in it (Everything else in the input except lower-case letters can be ignored.)

For example:

Please input a line in lower-case: hello, world!

The letter appears 1 time(s).

The letter appears 1 time(s).

The letter appears 1 time(s).

The letter 3 time(s).

The letter time(s).

The letter time(s).

The letter 1 time(s).

I'm not sure how to solve the question. Can anyone help me?

 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that reads an input line from the user
Reference No:- TGS0952089

Expected delivery within 24 Hours