write aprogram in c++ using for loop to calculate the max number and min number and make the avg >>in output screen?

No! You are supposed to do that, so do it. Post your work over here and we will gladly try to solve all your problems.

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.