Need some help cleaning up and fixing some code that reads a txtfile and adds the scores for each team then declares the winner
Thank you
// java class for file I/O
import java.io.*;
import java.util.*;
// declaration of the class
public class Bowling
{
// declaration of main program
public static void main(String[] args) throwsFileNotFoundException
{
// 1. connect to input file
Scanner fin = new Scanner(newFileReader(“bowling.txt”));
// declare arrays below
String [] blue_members = new String[10], white_members= new String[10];
int [] blue_scores = new int[10], white_scores = newint[10];
return_type method_name( data_type array_name[])
//temp variables to store the team and player
String Team, Member;
//counts for the total team members
PayPal Gateway not configured
PayPal Gateway not configured