Commit a575ad38 authored by Michael's avatar Michael

exercise_07_35v5

parent e2971c13
......@@ -55,7 +55,7 @@ main()
}
size_t floatingArraySize;
std::cin >> floatingArraySize;
if (integersArraySize > BUFFER_SIZE) {
if (floatingArraySize > BUFFER_SIZE) {
std::cerr << "Error 1: size must be less or equal than 10.\n";
return 1;
}
......@@ -68,7 +68,7 @@ main()
}
size_t charactersArraySize;
std::cin >> charactersArraySize;
if (integersArraySize > BUFFER_SIZE) {
if (charactersArraySize > BUFFER_SIZE) {
std::cerr << "Error 1: size must be less or equal than 10.\n";
return 1;
}
......
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