Write a program named \"StockChart\" that displays a bar chart representing the
ID: 3633879 • Letter: W
Question
Write a program named "StockChart" that displays a bar chart representing the price of a stock over the course of a week. The user will specify the name of the stock, the price of the stock on each day, and the width and height of the chart:
Enter stock name: Microstuff
Enter Monday price: 20.125
Enter Tuesday price: 19.50
Enter Wednesday price: 22.375
Enter Thursday price: 23
Enter Friday price: 23.25
Enter width of chart: 200
Enter height of chart: 200
A frame labled "Chart for stock name" will now appear on the screen, with five colored bars representing the daily stock prices. The height of each bar will be proportional to the stock's price on the corresponding day.
Explanation / Answer
visit these sites, it may help you! blogs.stockcharts.com/chartwatchers/chip-anderson/page/2/ www.webbasedprogramming.com/Teach-Yourself...Days/ch12.htm peltiertech.com/WordPress/example-charts
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.