Due Date: midnight, Friday, 12 October.
This assignment focuses on strings and files from Chapter 5.
Submit the following programs via Blackboard:
Please enter a word: quail Your score is 14.
Scrabble gives most common letters a score of 1 and less common ones higher values (A=1 , B=3, C=3, D=2, E=1, F=4, G=2, H=4, I=1, J=8, K=5, L=1, M=3, N=1, O=1, P=3, Q=10, R=1, S=1, T=1,U=1, V=4, W=4, X=8, Y=4, and Z=10 Scrabble letter distributions).
So, the word quail above, has a score of 10+1+1+1+1= 14
12.3 10 99 84.3 0.3 20
(two numbers per line). Your program should use a graphics window to display the information in the file. In particular, your program should read each line from the file and display a point at the coordinates indicated. If the first line is 12.3 10 should draw a small circle at (12.3, 10) on the graphics window.
You may assume that all points have coordinates between 0 and 100 and set the coordinates of the window to be bounded by 0 and 100 in both directions.
Note that the file could have any number of lines in it.