Computer Science 202
Introduction to Programming
Fall 2013, The College of Saint Rose
Agenda
Augment the CircleAreas example program to print the circumference of each circle (2 * pi * radius) in addition to the area. Your program should print the circumferences to a second file. So you will need to read in another file name from the keyboard Scanner, need to create another PrintWriter for the second file, add println statements to print the circumference information to that second file, and close the second PrintWriter.
Please submit only the file CircleAreas.java in Submission Box under "InClass22" before you leave class.
Due at the start of class, Tuesday, December 3.
Please submit answers to these questions in Submission Box under "LA22" by the start of our next class. We will discuss these questions at the start of class, so no late submissions are accepted. Please be sure that your name is clearly indicated in all submissions.
How would you convert the Shout program to Whisper, which should take the contents of the file and force all characters to be lower case? (4 points)
Examples