Friday, March 6, 2015

Headfirst Java Chapter 5

     This chapter discussed how to convert strings into integers using the parseInt() function. The game utilized "for" loops to check if the ships were hit or not, and would end the code if the ship was hit. There was also a bug that you could hit the same place multiple times and you would win since the number of hits was reached.



Age Checker Warm Up


Note that this was created to check on 3/5/2015. If you would like this to be accurate, you will have to change the day, month, and year input sub-strings.