Question: Java Programming Please give sample output and include Javadocumentation. 4. Write a program that reads a file and counts how many lines it contains. 5.
4. Write a program that reads a file and counts how many lines it contains. 5. Write a program that reads a text file that contains a grade (for instance, 87) on each line. Calculate and print the average of the grades. 6. Write a program that reads from a file data then save it to another file but has to add the two characters ** after each data (word or number). See the example below Input text : Hello world 67 Saved text: Hello** word** 67**
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
