[CSC 204] Scanner....

Andrew J. Pounds pounds_aj at mercer.edu
Sat Sep 13 12:51:31 EDT 2014


Class -- I just want to put this little reminder out there -- you are 
supposed to use the Scanner class to ask for user input in your Forecast 
program. For those of you that missed class on the day we played with 
the scanner, the example uses in class in the courses folder:

http://blackhawk.cs.mercer.edu/courses/Andy%20Pounds/CSC%20204/Examples/PlayWithScanner.java

I bring this up because as I have been working with many of you on your 
programs I have noticed that you have the x1, y1, etc., values "hard 
coded" in your programs and that you don't use the Scanner. You must 
remember that I am going to be running your codes with my own set of 
data.  "Hard coding" values is fine for testing and getting the output 
to look right, but you definitely need to test and run with the Scanner 
before submitting the assignments for grading next week.


-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc204/attachments/20140913/8a81c902/attachment.html>


More information about the csc204 mailing list