Write functions to:
void tolower(char *) /* Change all characters within the string str to lower case.
void makeproper(char *) /* defined below */
makeproper will:
1. Capitalize the first character of a string.
2. Ensure that a space follows all punctuation (with the exception of the instances listed below)
No spacing around a dash (-)
No spacing around a quote (‘)
3. Capitalize all text immediately following whitespace.
No spacing around a dash (-) but the following character is capitalized.
No spacing around a quote (‘) but the following character is capitalized.
4.with the following exceptions: (consider using a switch to check)
McX.... all sequences starting with mc are capitalized
#
MacX... all sequences starting with mac are capitalized and the following character is capitalized. eg. MacDonald
#
DuX... all sequen
C Programming?
People here aren't going to do your homework for you. Why don't you try to do it yourself, then ask questiuons if you need help?
Reply:That's lot of work, may be you can search them at project assignment help website like http://askexpert.info/ .
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment