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
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
Get step-by-step solutions from verified subject matter experts
