#include #include #include "text.h" using namespace std; void show_histogram_text(vector bins, size_t bin_count) { size_t max_count=0; for (size_t i =0; i=10)) { cout<<" "<76) { size_t height = 76 * (static_cast(bins[i]) / max_count); for(size_t j=0; j<=height; j++) { cout<<"*"; } } else { for(size_t j=0; j<=bins[i]-1; j++) { cout<<"*"; } } cout<