Hi! so I have to write a C++ program to analyze three different data
files, and try to confirm Benford’s law. I need to create a console application that opens each file, counts the number of values that start with ‘1’, ‘2’, ‘3’, etc., and then outputs the percentages of each digit.
I think I wrote it correctly but I keep getting error from Dev C++
here's where it is in my program.