Question: Assignment Create a file named 'input.txt' that contains the names of all 50 states, in lowercase letters, in alphabetical order, with each state on it's
Assignment Create a file named 'input.txt' that contains the names of all 50 states, in lowercase letters, in alphabetical order, with each state on it's own line of the file. Save the file somewhere. Write a php program that Reads the input file data into memory Processes the data one character at at time and uppercases every 10th character, converts every letter i' to Z, and replaces end of line characters with commas. Write the processed data out to a new file that your program creates named 'output.txt Turn in a printout with your input.txt, output.txt, and php source code for the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
