Commit f211c7bc authored by Narek's avatar Narek

exercise_07_10 v5

parent e3833ef9
......@@ -18,6 +18,7 @@ main()
++wageFrequency[wage / 100 - 2];
std::cout << std::endl;
}
int count;
for (count = 0; count < FREQUENCY_SIZE - 1; ++count) {
const int wageSizeFrom = (count + 2) * 100;
......@@ -25,8 +26,8 @@ main()
std::cout << wageSizeFrom << "$" << "-" << wageSizeTo << "$: ";
std::cout << wageFrequency[count] << std::endl;
}
std::cout << "1000$ and more: ";
std::cout << wageFrequency[count] << std::endl;
std::cout << "1000$ and more: ";
std::cout << wageFrequency[count] << std::endl;
return 0;
}
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