How to solve this problem in Code Blocks?
Output:

Enter 1st number: 10
Enter 2nd number: 10
Enter 3rd number: 10
Enter 4th number: 10
Enter 5th number: 10
Sum of five numbers: 50 Average of five numbers: 10

Unlike sites like Chegg, here you learn by sharing your code as it is and then ask "Why does line 10 give me the "Error, China not found."?"

In short, not once have I seen anyone give up a finished set of code for homework assignments.

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.