Question: write the program in C language and follow the instructions. use comments where necessary. 1. Write a C program that reads letters from a text
write the program in C language and follow the instructions. use comments where necessary.

1. Write a C program that reads letters from a text file into a two-dim array. In each column of the array, there is an English word. For example, the word "house" is written in the first column and "choir is written in the last column. The program will input a number and copy the corresponding word from the two-dim array into a one-dim array. Then the program will display the contents of the one-dim array. words.txt htdtcsrjslcc orea i hiula a h ua e baev da bbo sirlseegsoli enses prehrer Example Run: Which word do you want to display? 1 The word is house. Example Run: Which word do you want to display? 7 The word is river
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
