Question: Use java please (this is java 2) Question 4: Write a Java program to read from two different files: 1. A file called ruffle.txt, in

Use java please (this is java 2)  Use java please (this is java 2) Question 4: Write a

Question 4: Write a Java program to read from two different files: 1. A file called "ruffle.txt", in which each of the 100 records includes participant's ticketNo, CPR, name, and mobile number. The file uses a comma separated file format, as the sample below. 2. A file called "winner.txt", which contains a single number representing the ticketNo drawn, as the sample below. The program should display on screen the winner's name as well as the count of times the winner did participate in the ruffle, similar to the given sample. Screen output The winner is: Fatma Mohammed The count of tickets of the winner is: 3

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!