Форум программистов, компьютерный форум, киберфорум
Наши страницы

С++ для начинающих

Войти
Регистрация
Восстановить пароль
 
IIapoBo3
0 / 0 / 0
Регистрация: 15.12.2013
Сообщений: 1
#1

In a given array of integers replace all the elements that are less than arithmetical mean value - C++

18.12.2013, 22:01. Просмотров 156. Ответов 0
Метки нет (Все метки)

Ребят помогите, очень надо) Заранее спасибо)

1)In a given array of integers replace all the elements that are less than arithmetical mean value of all array elements to the -1, and those that are more to the 1. The number of elements and array values ask for the user.
Example: array 1,4,10, 2,1,10,4,5,10 – result –1,-1,1,-1,-1,1,-1,-1,1
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Similar
Эксперт
41792 / 34177 / 6122
Регистрация: 12.04.2006
Сообщений: 57,940
18.12.2013, 22:01
Здравствуйте! Я подобрал для вас темы с ответами на вопрос In a given array of integers replace all the elements that are less than arithmetical mean value (C++):

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

Excess elements in array initializer - C (СИ)
int arr={{000,0,0},{001,0,0},{010,0,0},{011,0,0},{100,0,0},{101,0,0},{110,0,0},{111,0,0}}; В чем проблема? нумерация ведь с нуля...

Fill in the blanks to calculate and return the multiplication product of the array elements - C++
Решил испытать SoloLearn, за одно язык подтянуть.)) но вот столкнулся с проблемкой одной. Задание: Fill in the blanks to calculate and...

Функции (find out the array in which total number of positive elements is bigger) - C++
You given two one-dimention arrays with N numbers inside. You task is to find out the array in which total number of positive elements is...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

Excess elements in array initializer - C (СИ)
int arr={{000,0,0},{001,0,0},{010,0,0},{011,0,0},{100,0,0},{101,0,0},{110,0,0},{111,0,0}}; В чем проблема? нумерация ведь с нуля...

Fill in the blanks to calculate and return the multiplication product of the array elements - C++
Решил испытать SoloLearn, за одно язык подтянуть.)) но вот столкнулся с проблемкой одной. Задание: Fill in the blanks to calculate and...

Функции (find out the array in which total number of positive elements is bigger) - C++
You given two one-dimention arrays with N numbers inside. You task is to find out the array in which total number of positive elements is...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

Excess elements in array initializer - C (СИ)
int arr={{000,0,0},{001,0,0},{010,0,0},{011,0,0},{100,0,0},{101,0,0},{110,0,0},{111,0,0}}; В чем проблема? нумерация ведь с нуля...

Fill in the blanks to calculate and return the multiplication product of the array elements - C++
Решил испытать SoloLearn, за одно язык подтянуть.)) но вот столкнулся с проблемкой одной. Задание: Fill in the blanks to calculate and...

Функции (find out the array in which total number of positive elements

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

In a given array of integers determine maximal and minimal value among numbers that ends with 0 - Turbo Pascal
In a given array of integers determine maximal and minimal value among numbers that ends with 0. The number of elements and array values...

Excess elements in array initializer - C (СИ)
int arr={{000,0,0},{001,0,0},{010,0,0},{011,0,0},{100,0,0},{101,0,0},{110,0,0},{111,0,0}}; В чем проблема? нумерация ведь с нуля...

Fill in the blanks to calculate and return the multiplication product of the array elements - C++
Решил испытать SoloLearn, за одно язык подтянуть.)) но вот столкнулся с проблемкой одной. Задание: Fill in the blanks to calculate and...

Функции (find out the array in which total number of positive elements is bigger) - C++
You given two one-dimention arrays with N numbers inside. You task is to find out the array in which total number of positive elements is...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
0
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.