#include #include "text.h" using namespace std; void show_histogram_text(vector bins){ for(size_t count: bins){ if (count < 100) cout << " "; if (count < 10) cout << " "; cout << count << "|"; for(size_t i = 0; i < count; ++i) cout << "*"; cout << "\n"; } }