Please Follow the rubric in C programming Please Follow the rubric in C programming Please Follow the rubric in C progra

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Please Follow the rubric in C programming Please Follow the rubric in C programming Please Follow the rubric in C progra

Post by answerhappygod »

Please Follow the rubric in C programming
Please Follow the rubric in C programming
Please Follow the rubric in C programming
Please Follow The Rubric In C Programming Please Follow The Rubric In C Programming Please Follow The Rubric In C Progra 1
Please Follow The Rubric In C Programming Please Follow The Rubric In C Programming Please Follow The Rubric In C Progra 1 (116.42 KiB) Viewed 59 times
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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply