Declare an array. Gather your first and last name as

profileVerifiedEducator
 (Not rated)
 (Not rated)
Chat

  

Declare an array. Gather your first and last name as string input (as all lowercase, with an underscore between first and last name) via scanf and store it in your array. Then, capitalize the first letter of both your first and last name and switch the underscore to a space character. Output the array to the screen before and after the capitalization change.
Use the DEFINE preprocessor directive to represent the size of your name array throughout the program.
Per assignment guidelines, the program should be written to work with any reasonable first name / last name combination.
Example:david_robeson "There is an underscore between the names if you can't see it."
David Robeson

    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      nameArray.zip