Write a program that declares an array of 20 doubles and reads the values from the user. Now your program should compute the average of these numbers and then tell for each number whether it is above, below or equal to the average
Mubsahir Ijaz 0
Newbie Poster
Recommended Answers
Jump to PostWe don't do your homework for you. Write the code, post it here along with the errors you are getting, and we may help you...
Jump to PostOK, I've written it, and it does compute the average of these numbers and then tell for each number whether it is above, below or equal to the average. What now?
All 5 Replies
rubberman 1,355
Nearly a Posting Virtuoso Featured Poster
DaveAmour 160
Mmmmmm beer Featured Poster
vegaseat 1,735
DaniWeb's Hypocrite Team Colleague
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
misi
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.