The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 3 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Â
Write a program, that uses three separate functions, to capitalize the first character of each word in a given phrase, insert a A????1:A????1 separator symbol between every third word and replace any A????1!A????1 exclamation or A????1?A????1 by a period A????1.A????1, respectively. To do this, you will need to detect the beginning of a new word. You may also need to create intermediate or temporary strings to allow for insertions. Do not use any of the string functions other than size, length, clear or the [ ] operator. Your submission should include a screenshot of the execution of the program using each of the strings s1, s2 and s3, where
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------sol-----------uti-----------on.-----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- ca-----------tch-----------