In this exercise, your program will read a first name and last name (separated by a space) from a file (name.txt), each string is up to 10 characters. Store them in two c-strings, i.e., two character arrays, e.g., firstName, lastName, with enough space to

In this exercise, your program will read a first name and last name (separated by a space) from a file (name.txt), each string is up to 10 characters. Store them in two c-strings, i.e., two character arrays, e.g., firstName, lastName, with enough space to store them. What is the minimum size of each array (but still enough to store the names)? Use that number to declare the arrays (otherwise, your program will waste memory space). After reading the first name and last name, then your program will call a function, e.g., generate FullName, which will combine the first name and last name and save it to the third array. The full name should appear in the format of last name, first name, where the last name comes first, then a comma and space and then the first name. Think about how large the array of the full name needs to be; and do not forget to count the extra comma and space. The function will take four arguments: the array that stores the first name, the array that stores the last name, the array that stores the full name, and the size of the array that stores the full name. Why do we need the size of the array here? The program will output the full name to a file called “fullname.txt” after calling the function. You may not use %s with scanf or gets, which are not safe as we mentioned in the class. Must use %c with fscanf to read two strings.

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational