code: программа разбита на структуры и функции
Этот коммит содержится в:
2
main.cpp
2
main.cpp
@@ -29,7 +29,7 @@ input_data() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
find_minmax(const vector<double> numbers, double& min, double& max) {
|
find_minmax (const vector<double> numbers, double& min, double& max) {
|
||||||
min = numbers[0];
|
min = numbers[0];
|
||||||
max = numbers[0];
|
max = numbers[0];
|
||||||
for (double x : numbers) {
|
for (double x : numbers) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user