Question: Please help me with this C program, please make it simple because I'm in programming 1 and I just started along with using lots of

Please help me with this C program, please make it simple because I'm in programming 1 and I just started along with using lots of comments.

Please don't use count or cin statements and please use #include. Can also use #include and #include if needed.

Here is the problem:

Please help me with this C program, please make it simple because

Here is the Algorithm, please make it look like very similar to the algorithm:I'm in programming 1 and I just started along with using lots

Here is the names.txt file:

of comments. Please don't use count or cin statements and please use

Please make it simple because I'm in programming 1 and I just started along with using lots of comments.

Please don't use count or cin statements and please use #include. Can also use #include and #include if needed.

Write a C program called transpose.c that reads in 15-20 family and friends (one first and last name on a line) or 15-20 computer game names (some need to have multiple words) from the file names.txt. Put the names into the array 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 characters! For example, Carol Joe R Neil becomes a i ... print "This program reads names from in.txt and writes them out downward in out.txt" open in, out files for each row for each column names [row] [column] = " (set to blank) for each name read name into names [i] print to screen names [i] (just a good idea) for each row number for each column number if names [column] [row]!= ' or != \0' print names [column][row] print to file names [column][row] else print 'to screen print 'to file print spaces print a newline close in and out names - Notepad File Edit Format View Help Spurs Raptors Celtics Seventy sixers Nets Knicks Bucks Pacers Pistons Bulls Cavaliers eat Magic Hornets wizards

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!