Assignment 5: Extracting Information from the Web (Due: Th, Nov 6)
Write a program Degrees.java that prints out the current
temperature in Columbus, Ohio. Weather information can be found at
http://weather.org/. Information about the weather in Columbus can be found at
http://forecast.weather.gov/MapClick.php?site=iln&FcstType=text&map.x=244&map.y=98&site=ILN.
Notes.
If questions in an email of yours refer to a program you wrote, please don’t
include the program in the email. Instead, put the program in your WWW
directory with an extension .txt added to the file name (e.g., Foo.java.txt),
change the access mode of the program to 644, and provide just the file
name in the email.
Submit your source file ‘Degrees.java’ with the ‘submit c214aa lab5Degrees.java’ command.
Suggestion. Build your program incrementally in the following manner.
Provide a program that reads the HTML code of the web page and prints
it out.
Modify the program to print out just the line of the HTML that contains
the desirable data.
Modify the program to print out just the temperature value.