BushmanovAS 11 месяцев назад
Родитель b8a8ebdeba
Сommit b9d5c4c35d

@ -32,7 +32,11 @@ Input input_data(istream& in, bool prompt = true)
int main()
{
Input in = input_data(cin);
bool show_prompts; // User choice: true to show prompts, false to hide them
cout << "Show prompts? (1 for yes, 0 for no): ";
cin >> show_prompts;
Input in = input_data(cin, show_prompts);
vector<size_t> bins = make_histogram(in.numbers, in.bin_count);
show_histogram_svg(bins);
show_histogram_text(bins);
}

Загрузка…
Отмена
Сохранить