using system;
using system.collections.generic;
using system.linq;
using system.text;
using system.threading.tasks;
namespace example
{
class program
{
static void main(string[] args)
{
double x = 0;
console.writeline("введите число n");
int n = int.parse(console.;
for (int i = 0; i < n; i++)
{
console.writeline("введите " + (i+1) +" число");
x =x + int.parse(console.;
}
x = x / n;
console.writeline("среднее арифметическое целых чисел составило: "+ x);
console.readline();
}
}
}
Поделитесь своими знаниями, ответьте на вопрос: