Skip to content

ArithmMeanValueOfArray. C++ Tutorials. Microsoft Visual Studio IDE. Simple Input/Output. Algorithms. Arrays. Console application.

License

Notifications You must be signed in to change notification settings

pchp250g8-home-cpp-tutorials/msvc-cpp-console-arithmmeanvalueofarray

Repository files navigation

A console application project written in C++ in the Microsoft Visual Studio integrated development environment. Simple input/output. Working with arrays and random numbers. Calculating the arithmetic mean of array elements.

The program does the following:

  1. Prompts the user for the number of elements in the array.
  2. Allocates memory and creates an array of integers from the number of elements previously entered.
  3. Fills the created array with random positive integers from 1 to 100.
  4. Calculates the sum of the received elements.
  5. Divides the result by the number of elements in the array.

About

ArithmMeanValueOfArray. C++ Tutorials. Microsoft Visual Studio IDE. Simple Input/Output. Algorithms. Arrays. Console application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages