I need help writing this pseudocode please!!
Write the pseudocode for an application which loads a one dimensional floating point array named tests with 25 test scores from a file. Use the tests array to calculate and print the average of the 25 test scores for a class of students.
Thank you!
2butawil
0
Newbie Poster
Recommended Answers
Jump to PostA few things come to mind:
1) you already know the size of the array, so I don't see the point of using the new operator, which indicates a dynamic array.
2) if the array is supposed to hold floating point numbers, why do you declare it type int?
3) …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.