The bars should all line up on their lefthand edges hint


Write a program to plot a horizontal bar chart of student exam scores. Your program should get input from a file. The first line of the file contains the count of the number of students in the file, and each subsequent line contains a student's last name followed by a score in the range 0 to 100. Your program should draw a horizontal rectangle for each student where the length of the bar represents the student's score. The bars should all line up on their lefthand edges. Hint: use the number of students to determine the size of the window and its coordinates. Bonus: label the bars at the left end with the student name.

2030_42ed80b0-eabb-4596-8f63-4e1ccece6dae.png

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: The bars should all line up on their lefthand edges hint
Reference No:- TGS01707825

Expected delivery within 24 Hours