Skip to content

ArithmMeanValueOfArray. C# Tutorials. DotNet Framework Platform. Arrays. Algorithms. Simple Input/Output. Console Application.

License

Notifications You must be signed in to change notification settings

pchp250g8-home-csharp-tutorials/csharp-dotnet-framework-console-arithmmeanvalueofarray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArithmMeanValueOfArray. C# Tutorials. DotNet Framework Platform. Arrays. Algorithms. Simple Input/Output. Console Application.

A console application project written in C# and implemented in the Microsoft Visual Studio IDE. .NetFrameWork platform. 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.

ArithmMeanValueOfArray. Занятия по C#. Платформа DotNet Framework. Простой Ввод/вывод. Массивы. Алгоритмы. Консольное приложение.

Консольное приложение разработано в интегрированной среде Microsoft Visual Studio на языке прораммирования C# под платформу .NetFramework . Реализованы простой ввод/вывод, работа с массивами и случайными числами. Рассчет среднего арифметического значения элементов массива.

Данная программа делает следующее:

  1. Запрашивает у пользователя ввод количества элеметов массива.
  2. Выделяет память и создаёт массив из целых чисел, количество которых было введено ранее. 3 .Заполняет созданный массив случайными целыми положительными числами в промежутке от 1 до 100.
  3. Вычисляет сумму полученных элементов.
  4. Делит результат на число элементов массива.

About

ArithmMeanValueOfArray. C# Tutorials. DotNet Framework Platform. Arrays. Algorithms. Simple Input/Output. Console Application.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages