Question: Write a C Program called trans.cpp that reads in 15-20 family and friends (one first and last name on a line) or 15-20 computer game
char names [20] [60]; (make sure the names are less than 59 characters each). Write the names out to the screen and to a file called trans.txt so the names can be read down instead of across and add a couple of spaces between each character across. Watch out for '\0' and 'n' characters! For example, Carol Joe R Neil ... becomes CJ N a oe re i 0 1 1 R
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
