Skip to content

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

Repository files navigation

A console application project written in C++ in the Embarcadero Rad 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. Embarcadero Rad Studio IDE. Simple Input/Output. Algorithms. Arrays. Console application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published