Question: Part B: Java Programming Problems. Choose 2 of the following problems. Each solution is worth 20 marks. You are expected to use comments in your

 Part B: Java Programming Problems. Choose 2 of the following problems.

Part B: Java Programming Problems. Choose 2 of the following problems. Each solution is worth 20 marks. You are expected to use comments in your code. Marks will be deducted for incorrect brackets, syntax etc, so be careful as possible (40 marks). 1. Create a new program that: Reads a sentence from a file; Writes the sentence to another file in reverse; and Prints a message to the user in a JOptionPane message box when finished. 2. Write a program that: Allows the user to enter ten numbers from the keyboard; Removes any duplicate numbers (numbers that are the same); and Prints top 5 numbers from highest to lowest. 3. Create a new program that: Counts the number of lines and the number of words in a text file; and Prints the number of lines and the number of words to the terminal

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!