main
MelnikovDM 12 месяцев назад
Родитель 9a187885d6
Сommit 5ef20e89ce

@ -13,7 +13,10 @@ struct Input {
};
Input
input_data(istream& inn) {
input_data(istream& inn, bool promt) {
if (promt == true) {
cerr << "Sovet:" << endl;
}
size_t number_count;
cerr << "Enter number_count: ";
inn >> number_count;
@ -39,10 +42,8 @@ input_data(istream& inn) {
int main() {
auto in = input_data(cin);
bool promt = true;
auto in = input_data(cin, promt);
auto bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins, in.colors);
}
}
Загрузка…
Отмена
Сохранить