Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialluther wardle
Full Stack JavaScript Techdegree Student 18,029 Pointsmaking a histogram in java
Hello All, I'm trying to make a histogram (intake int values from a sheet then separate them into their numbered sets 1-10, 11-20, etc all the way to 100)
I was hoping someone could tell me what i'm doing wrong in terms of being able to store values in arrays and print out "*" to represent 1 datapoint in that array
ultimately the program should look like this:
each line is the quantity of numbers stored in each consequitive array. can anyone give me any pointers?
1 Answer
Rajbie Sarwar
4,772 PointsWere you able to figure it out?
luther wardle
Full Stack JavaScript Techdegree Student 18,029 Pointsluther wardle
Full Stack JavaScript Techdegree Student 18,029 PointsMY APOLOGIES! here is my code
import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.util.Scanner;
public class Histogram {
}