Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started