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 3 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:A*ABCDEvalue array:501001201206010Here we see that 50 students obtained an A* whereas 10 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:A*++++++++++++++++A +++++++++++++++++++++++++++++++++B ++++++++++++++++++++++++++++++++++++++++C ++++++++++++++++++++++++++++++++++++++++D ++++++++++++++++++++E +++The maximum length of a bar is 40. You will first need to find the largest value in the arrayand set this to 40. All other bars should be proportional in length. For example, for the barcorresponding to D the length is 20.Creat a flowgorithm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!