Problem 1: (15pts)
File I/O Code is incorrect: -5pts
Not initializing sum = 0, leading to an incorrect answer (total should be 2471976): -5pts
Not able to pick out integers from lines correctly: -5pts
Not calculating the sum of picked out integers: -5pts.
Problem 2: (15pts)
File I/O Code is incorrect: -5pts
Frequency array/vector calculation is incorrect: -10pts
Frequency array/vector calculation does it for 2-digit numbers instead of single individual characters: -5pts
Problem 3: (20pts)
File I/O Code is incorrect: -5pts
Counting frequencies is wrong: -5pts
Maximum finding algorithm is wrong or does not exist: -5pts
Maximum finding algorithm does not account for repetitions: -5pts
Maximum finding algorithm prints the max frequency instead of the largest index attaining maximum frequency: -5pts
Outputs of the code are not attached: -0pts
Code does not compile/major bugs that need to be fixed (which are not simple typos like missing ; or missing headers): -5pts