The Mind Of Sauron
From Huben's Wiki
Line 1: | Line 1: | ||
+ | [[Image:Eye of sauron.jpg]] | ||
+ | |||
We are going to write a sizable class, compile it, and run it. The goal is to get the variable and method declarations right and the arguments and returns right. | We are going to write a sizable class, compile it, and run it. The goal is to get the variable and method declarations right and the arguments and returns right. | ||
Line 35: | Line 37: | ||
*** Print the number of Hobbits needed as food for your army every week. | *** Print the number of Hobbits needed as food for your army every week. | ||
*** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs. | *** Print the number of Hobbits needed as food for your army every week if you double the number of Orcs. | ||
+ | |||
+ | When you are done, put the code and the results from running it into a document, then print it for me to grade. You can also show me what you've done at the computer any time. Do not get stuck: you should be able to get this done today if you persevere. If you can't then finish it for homework. |