The Box Co.

Prepping for CS

So, as I’ve told Andrew, my prep for CS was going to be an expansive program that would let you calculate your final mark based on your marks to date. It would also do things like calculate what you would need to get on an exam to get a certain grade as a final mark, it would print a report card, and do all sorts of nifty things (for any course too).

It was a complicated mess of arrays, loops, and if statements spanning two classes (the super class and an extension), and a looping program that would continue to process actual text commands (i.e. Change Mark > Assignment > 01 –> 93.0%)

I was going to work in user definable boundaries too, but it is 4AM…so no. (By user definable boundaries, I mean saying that a lowest mark would be dropped or something to that effect).

It is all so complicated. And it works perfectly, except for the unsightly error in a loop somewhere…that makes any persons final mark output as Infinity…

sigh

But the fact that everything else functions establishes my supremacy in programming, and I figured out the proper way to use arrays as parameters…which I had trouble with before.

This entry was posted by Jay Granite. Bookmark the permalink.