Wednesday, March 30, 2011

Learning the GNFRFCPWL...

Today, we reviewed the homework classes on the secret number and repetition. I had a doubt about the program and the answer was in the powerpoint for Mr.Arkin's Guaranteed Never Fails Rules for Computer Programming While Loops. These four easy steps can help any programmer in writing while loops, unless you make errors with parseInt or comparing strings as I did. But, we learn from our mistakes and I surely did!

After the lesson, some of the students were quite hyped in the India vs. Pakistan cricket match for the World Cup. India won with a lead of 29 runs and is moving on to the finals. Yay! :) I was able to complete the magic number program and a challenge was to modify it with displaying previous scores and adjusting ranges to show: cold, very cold, warm, very warm. I completed them with previous knowledge from this course.

No comments:

Post a Comment