Please Follow the rubric in C programming Please Follow the rubric in C programming Please Follow the rubric in C progra
Posted: Sat Nov 27, 2021 10:33 am
Please Follow the rubric in C programming
Please Follow the rubric in C programming
Please Follow the rubric in C programming
This assignment will have you practice the modification of strings. For this assignment you will be making a paragraph formatter. Create the following character arrays: 1- Array “first” of length 20. 2- Array "last" of length 20. 3- Array "name" of length 40. 4- Array "batman" of length 200. 5- Array "catwoman" of length 240. The following menu to be printed and will loop until the exit option is chosen. A-Enter first name in "first". B - Enter last name in "last". P-Enter paragraph in array "batman". N-create a function "low" to change all the letters in an array to lower case. Call this function on "first", "last", and "batman". S - This option will capitalize the first letter in each word in "name", and create the full name in "name" from the two strings in "first" and "last". F-create a string in "catwoman" as follows: Creator name: (insert name from array "name"). (paragraph stored in array "batman”) E- This option will capitalize the beginning of each sentence in Array "batman”. (Hint - Think about what comes before a new sentence. Then that can be used to find which letters to capitalize.) D- create a function wipe that deletes a string from an array. Call wipe on each of the five arrays. (Hint - Be sure to delete every character and replace it with 10') M - This will option will change any commas to semicolons. For example, the sentence "I like ice cream, cake, and programming." Will become "I like ice cream; Cake; and Programming." U- Print out the string "catwoman". (Hint - Start out with this one so that testing your program is easier.) X- Exits the program.
Please Follow the rubric in C programming
Please Follow the rubric in C programming
This assignment will have you practice the modification of strings. For this assignment you will be making a paragraph formatter. Create the following character arrays: 1- Array “first” of length 20. 2- Array "last" of length 20. 3- Array "name" of length 40. 4- Array "batman" of length 200. 5- Array "catwoman" of length 240. The following menu to be printed and will loop until the exit option is chosen. A-Enter first name in "first". B - Enter last name in "last". P-Enter paragraph in array "batman". N-create a function "low" to change all the letters in an array to lower case. Call this function on "first", "last", and "batman". S - This option will capitalize the first letter in each word in "name", and create the full name in "name" from the two strings in "first" and "last". F-create a string in "catwoman" as follows: Creator name: (insert name from array "name"). (paragraph stored in array "batman”) E- This option will capitalize the beginning of each sentence in Array "batman”. (Hint - Think about what comes before a new sentence. Then that can be used to find which letters to capitalize.) D- create a function wipe that deletes a string from an array. Call wipe on each of the five arrays. (Hint - Be sure to delete every character and replace it with 10') M - This will option will change any commas to semicolons. For example, the sentence "I like ice cream, cake, and programming." Will become "I like ice cream; Cake; and Programming." U- Print out the string "catwoman". (Hint - Start out with this one so that testing your program is easier.) X- Exits the program.