C++ 10: Let user specify the size of array, enter their values, calculate and print their average.

Опубликовано: 28 Сентябрь 2024
на канале: Selected Topics in IT
3,735
21

An array of doubles of a size specified by the user. Get the values from the user, calculate and print their average. Print the elements of the array and display them to the user.