Question: I can figure out everything in the directions except how to read more than one sentence after the new line this is in c++ CMPF50
I can figure out everything in the directions except how to read more than one sentence after the new line this is in c++
CMPF50 b 4 Strings bility Mod Arroyo G Insert Design Layout References Mailings Review view U Tell me what you want to do Share Home AaB Cambria (R 12 A A Aa A AaBb Co AaBbCc AaBbccD AaBbcct AaBbcct AaBbce Replace Paste N Format Painte a-E 1 Normal 1 No Spac, Heading 1 Heading 2 Heading 3 Title Subtitle Subtle Em Emphasi Intonso E... strong Select CMPE 50 Spring 2017 Lab 4-C-strings and string class. Exercise 1 (Progr, Proj, 8.1) (Use C-string to scive this problem) write a program that reads in a sentence of up to 100 characters and outputs the sentence with spacitig corrected atid w ers currected for capilalizatioru other words, in the output sentence, all strings oftwo or more blanks should be compressed to a single blank. Th ence should start w an uppercase letter but should contain no other uppercase letters. Do not worry about proper names; if their first letters are changed to lowercases, that is acceptable. Treat a line break as if it were a blank space, in the sense that a line break and any number of blank spaces are compressed to a single blank space. Assume that the sentence ends with a period and contains no other periods. For example, the input nalN is thE TiMe for aLI gooD MEN TO ComE o the ald. should produce the following output: Now is the time for all good men to come to the aid of the country. 8:18 PM a Ask me any
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
