CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 34
theFieldArray[commaCount] = theField; //the last field is not marked
with a comma...
return theFieldArray;
} //end split
Step 2: Processing Logic
Using the pseudocode below, write the code that will meet the
requirements.
The pseudocode for the writeData function is shown below.
Start
open the text file to append
start do while loop
Allow user to enter name
store name (using getline method)
Allow user to enter city
store city (using getline method)
.
.
write name, city, etc. to the file
end loop
close the file