1. Engineering
  2. Electrical Engineering
  3. arks write a c program that read a cstring char...

Question: arks write a c program that read a cstring char...

Question details

arks] Write a C++ program that read a C-String (char array) line of t 15 y) line of the size 200. The program w do the following: Count the number of sentences. Assume each sentence ends at a full stop a) b) if the last alphabet of a sentence is uppercase, then make it lowercase. c) If a word starts with a lowercase letter, then make it start with the uppercase letter. If a word starts with the uppercase letter, then make it start with the lowercase letter. Assume there is only space character between each word Sample Input/Output Enter text: i was 2nd in the racE. i Was so SaD. I crie. Total sentences: 3 New line: I Was 2nd In The Race. I was So sad. i Cried
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution