Commit 5554dad9 authored by Michael's avatar Michael

michael.davityan:exercise_07_35new

parent a575ad38
......@@ -46,7 +46,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);
printArray(integersArray, integersArraySize);
std::cout << std::endl;
......@@ -59,7 +59,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);
printArray(floatingArray, floatingArraySize);
std::cout << std::endl;
......@@ -72,7 +72,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);
printArray(charactersArray, charactersArraySize - 1);
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