Question: Task 3 Iteration and Arrays Display Bar chartInformation is often easier to digest when it is displayed graphically, with the bar chart beingone of the
Task Iteration and Arrays Display Bar chartInformation is often easier to digest when it is displayed graphically, with the bar chart beingone of the most popular.For example, consider a local education authority that wishes to record how well all thestudents who have studied in the local area have performed at A level.The names of each bar should be stored in one array, the corresponding values are stored inanother array.caption array:AABCDEvalue array:Here we see that students obtained an A whereas students received an E In this casethe captions are the Grades and the values are the student numbers.Write a program that displays this information where a bar of symbols represent the valuesas follows:AA B C D E The maximum length of a bar is You will first need to find the largest value in the arrayand set this to All other bars should be proportional in length. For example, for the barcorresponding to D the length is Creat a flowgorithm
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
