Thursday, April 16, 2009
Shooter
Last week, Mr. Chiarelli taught us a bunch of new concepts about random numbers. The reason for this was because we were going to be having a test the next week on it. This is going to be our last test. He said that for every question we would have to do a double loop. He also showed us how to make a one line statement that would find different numbers. All we had to do was type in r.Next and make sure it right or else we would get it wrong. He showed us the shooting gallery game. The shooting gallery problem was basically about gun that shoots different plates in the sky. The problem was that we had to make a program that would calculate the different posible possibilities of the gun hitting the plate. Mr. Chiarelli gave us about 30 minutes to try to finish it where afterwards he took it up.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment