I am writing a C++ program that inputs a file of 3000 resistor files and writes them to a vector. I have already done the vast majority of the program, and now I am just trying to display a VERTICAL HISTOGRAM or Bar Graph. There are 3 different types of resistors, R100, R1000, R10000. I am working the R100 graph right now. The actual values aren't exactly equal to their type, but most are close. The Bar Graph is to display the counts of a range of values from 90 - 110. I have written a function already that has counted each bin of the graph. There are 11 bins, or range values: 90, 92, 94, 96, 98, 100, 102, 104, 106, 108 and 110. I want the VERTICAL HISTOGRAM or Bar Graph to display each bin value, 90 - 110 etc, at the bottom of the graph and then display the counts of each bin using a * symbol. I was planning for each * symbol to represent a count of 100, but if there are less than 100, I still want to place at least one * so I don't have any empty bins on the graph. For example, the count of the first bin is 25, there should be one * there. I want the graph to have 10 rows, so there would be a cap, any bin with a count of 1000 or higher would have 10 vertical stars, or *. I have written the counts to an array of 11 elements, each element represents a count corresponding to its bin. I named the array "counts" and gave it an integer datatype. So the array data with explanations for the graph and each of its bins are as follows:

** These are the Actual Counts that Were Returned By My Code: **

Again, I am looking to display a VERTICAL HISTOGRAM, or Bar Graph using the data from above. Please Help Me!!Code:counts[0] = 25 // This column on the Bar Graph should have one * symbol, as it is less than 100, and represents resistors with a value of 90 or less counts[1] = 1027 // This column on the Bar Graph should have 10 vertical * symbols, as a count of 1000 is the cap, and represents resistors with a value greater than 90 and <= 92 counts[2] = 917 // This column on the Bar Graph should have 10 vertical * symbols, as it is greater than 900, and represents resistors with a value greater than 92 and <= 94 counts[3] = 777 // This column on the Bar Graph should have 8 vertical * symbols, as it is greater than 700, and represents resistors with a value greater than 94 and <= 96 counts[4] = 641 // This column on the Bar Graph should have 7 vertical * symbols, as it is greater than 600, and represents resistors with a value greater than 96 and <= 98 counts[5] = 535 // This column on the Bar Graph should have 6 vertical * symbols, as it is greater than 500, and represents resistors with a value greater than 98 and <= 100 counts[6] = 436 // This column on the Bar Graph should have 5 vertical * symbols, as it is greater than 400, and represents resistors with a value greater than 100 and <= 102 counts[7] = 323 // This column on the Bar Graph should have 4 vertical * symbols, as it is greater than 300, and represents resistors with a value greater than 102 and <= 104 counts[8] = 204 // This column on the Bar Graph should have 3 vertical * symbols, as it is greater than 200, and represents resistors with a value greater than 104 and <= 106 counts[9] = 87 // This column on the Bar Graph should have one * symbol and , as it is less than 100, and represents resistors with a value greater than 106 and <= 108 counts[10] = 3 // This column on the Bar Graph should have one * symbol and , as it is less than 100, and represents resistors with a value greater than 108