Question: java Question 2: Write a program that reads a file line by line, counts the number of words in each line, and writes to another
Question 2: Write a program that reads a file line by line, counts the number of words in each line, and writes to another file in the following format. [Marks 101 Input File data Hello, this the second question of terminal exam. Its weightage is 50%. Output file data 1. 8 Hello...exam 2. 4 Its...50%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
