Question: Please help me get this code goin CSIS 123 Chapter 7 Extra Credit Programming Project You will be writing a program using the string manipulation
Please help me get this code goin
CSIS 123 Chapter 7
Extra Credit Programming Project
You will be writing a program using the string manipulation functions we learned about in Chapter 7:
Create an input file that resides in the source code folder of your VS17 project that contains the following data (cut/paste from here to there so the format of lastName, firstName and middleName, if exists, and content match exactly)
Alberdini, Mario Luigi
Brown, Brett Benjamin
Clown, Freckles The
DoRight, Dudley
Ebony, Blanca Y.
Fabio, Ferdinand Franklin
Gobstopper, George
Hopper, Grass
Ing, Lin Su
Jezreel, Jasmine Jaye
Read each line and convert the name to the format firstName middleName lastName. Output this new format to both the screen and an output file.
The program must read each students name as a variable and consist of a function that takes as input a string, consists of the students name, and returns the string consisting of the altered name. Use the string function FIND to find the index of the comma ,; the function LENGTH to find the length of the string; and the function SUBSTR to extract the firstName, middleName and lastName
Ensure that your output text file is in the source code folder and is submitted as part of your compressed VS17 project folder.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
