#ifndef HISTOGRAM_H #define HISTOGRAM_H #include #include struct Input { std::vector numbers; size_t bin_count; size_t number_count; }; Input input_data(std::istream& in = std::cin, bool prompt = true); std::vector make_histogram(const std::vector& numbers, size_t bin_count); void show_histogram_text(const std::vector& bins, size_t max_width = 80); Input download(const std::string& url); #endif