No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Non traditional student - Computer Science major
Previous business owner - Health Care Staffing
10 + years outside sales
5+ years management experience
3+ years entreprenuer
Past 2 years - University student
I am getting zero, the lowest test score is 10 not zero. I created my own test file with only 10 scores to be able to test my program. I am certain min should equal 10. Here is how I read the data into the array after being sure the … |
|
I have read a file to an array successfully. However, when I attempt to pass the array to the function calcAvg(calculate average) and return the average, I get a zero. //Function prototype double calcAvg(double [], int); //Function call calcAvg(score,SIZE); I set a variable called score_length (in main) to get the … |
|
Good Morning DaniWeb users, This will be the first time I use your forum to try and solve a problem. I'm an non-traditional student and live in Michigan. For those curious about where that is located; look a world map (for our international friends) and look for the United States, … |