Question: In LUA , write a program that: Problem #4: File I/O You will read a text file. Then create another text file containing only the
In LUA, write a program that:

Problem #4: File I/O You will read a text file. Then create another text file containing only the number of words in the first file. Example: Say input file is input.txt, and it contains the following two lines: This is a test program. am counting only words. Output: Say, the created file is output.txt, and it contains
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
