Terry E Snyder Jr
&  
RemoteWebs.com  

Computer & Web Solutions

Support, Design, and more...
| | |
April 19th, 2024 3:44:22 AM

C Programming Program #3

 

This program will require you to input a string containing only blank spaces and letters of the alphabet. The input string will be echo printed and then each word in the string will be printed on a separate line preceeded by a number of asterisks that is equal to the number of letters in each word. The asterisks will be printed beginning in column 1 and each word will be printed beginning in column 16.

Assume the string entered was: Fourscore and seven years ago
Then the output will appear as follows:

Fourscore and seven years ago

********* Fourscore
*** and
***** seven
***** years
*** ago

The strings to be used for input are:

There once was a farmer who took a young miss in back of the barn

The quick gray fox jumped over the lazy dog

Jack and Jill went up the hill to fetch a pail of water

Yes we ave no bananas we have no bananas today

Oh beutiful for spacious skies for amber waves of grain

Google
 
Web www.terryesnyderjr.com
www.remotewebs.com

Page Updated on August 23, 2020 22:47

www.terryesnyderjr.com Copyright 2000-2024©