Commit 18faafca authored by Michael's avatar Michael

michael.davityan:exercise_07_37v2

parent d94c0d93
Error 1: size must be less or equal to 10.
Error 1: size must be less or equal than 10.
......@@ -58,7 +58,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;
}
......@@ -71,7 +71,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