Commit c32b5f78 authored by Michael's avatar Michael

michael.davityan:exercise_07_37new

parent 18faafca
......@@ -49,7 +49,7 @@ main()
std::cerr << "Error 1: size must be less or equal than 10.\n";
return 1;
}
int integersArray[integersArraySize];
int integersArray[BUFFER_SIZE];
inputNumericArray(integersArray, integersArraySize);
std::cout << "Minimum is: " << recursiveMinimum(integersArray, integersArraySize - 1);
std::cout << std::endl;
......@@ -62,7 +62,7 @@ main()
std::cerr << "Error 1: size must be less or equal than 10.\n";
return 1;
}
double floatingArray[floatingArraySize];
double floatingArray[BUFFER_SIZE];
inputNumericArray(floatingArray, floatingArraySize);
std::cout << "Minimum is: " << recursiveMinimum(floatingArray, floatingArraySize - 1);
std::cout << std::endl;
......@@ -75,7 +75,7 @@ main()
std::cerr << "Error 1: size must be less or equal than 10.\n";
return 1;
}
char charactersArray[charactersArraySize];
char charactersArray[BUFFER_SIZE];
inputCharArray(charactersArray, charactersArraySize);
std::cout << "Minimum is: " << recursiveMinimum(charactersArray, charactersArraySize - 2);
std::cout << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment