Computer Project Questions
Computer Project Questions
*
**
***
****
*****
5) Pg 425, program 1
6) Pg 427, program 3
7) Write a program to enter a string,convert it to uppercase and print the frequency of each
character
8) Write a program to accept a sentence which may be terminated by either a full stop, question
mark, or exclamation mark. The words may be separated by more than one blank space and are
in uppercase.
Perform the following tasks:
i) Accept the sentence and reduce all extra blank spaces between two words to a single
blank space.
ii) Accept a word from the user which is the part of a sentence along with its position
number and delete the word and display the sentence
9) Write a program to accept a sentence which may be terminated by either a full stop or question
mark only. The words are to be separated by a single blank only. Print an error message if the
sentence does not end with a full stop or question mark. You can assume that the number of
words does not exceed 15 so that you can get a proper formatted output.