I included tags in the parts of the code I altered that explain it.
Type: Posts; User: JakeM1130
I included tags in the parts of the code I altered that explain it.
I noted the couple tweaks that had to be made
PrintWriter prw = new PrintWriter("outfile5B.txt");
Scanner kb = new Scanner(System.in);
String input;
int num, sum = 0, numAmount;...