Computer Science Canada Class help |
Author: | fijo [ Sat Feb 21, 2009 11:45 am ] |
Post subject: | Class help |
personally i learn best from examples and i need help on the following question and if someone could just give me the final answer you dont need to explain your steps, just as long as it works i will be grateful Problem: In a certain sports league, a group of teams plays through a Schedule of Games (see APIs below -- Schedule.html and Game.html). At the end of this Schedule, they want to determine the winner. To determine the winner, you will have to determine for each team how many Games they won, lost, and tied. Assuming 2 points for a win, 1 point for a tie, and 0 points for a loss, you can then determine how many points they scored during the season. The team(s) with the most points is then the winner. Required Classes (save the class files below to your working directory): Game.class Schedule.class Sample Program Run: You should build your application to take no input and produce output similar to the following. If your application works correctly, then your program output should look like the following: Vancouver - 3 wins, 2 losses, 0 ties = 6 total points Calgary - 2 wins, 3 losses, 2 ties = 6 total points Edmonton - 1 wins, 3 losses, 2 ties = 4 total points Toronto - 2 wins, 3 losses, 2 ties = 6 total points Ottawa - 4 wins, 3 losses, 1 ties = 9 total points Montreal - 4 wins, 2 losses, 1 ties = 9 total points The season winner(s) with 9 points Ottawa Montreal EDIT: and for any of you thinking this is for me to hand in it's not. i have already missed the deadline i only need this so i can study for my exam on tues, also if you need the actual classes ill email them to you if need be because i cannot upload them here thank you!!!!!!!! |
Author: | S_Grimm [ Sat Feb 21, 2009 12:35 pm ] | ||
Post subject: | Re: Class help | ||
1) Put the classes and any work you already did into a .zip file or post it using
2) We do not give out answers here. we will help you solve your problem, but we will NOT write the code for you. |
Author: | fijo [ Sat Feb 21, 2009 1:09 pm ] | ||
Post subject: | Re: Class help | ||
AV @ Sat Feb 21, 2009 12:35 pm wrote: 1) Put the classes and any work you already did into a .zip file or post it using
2) We do not give out answers here. we will help you solve your problem, but we will NOT write the code for you. its not even that i want the full written code.. i only said that because i could look at what someone has done and compare it to what needs to be done in order to understand what i have to do in the future even if someone could just give me the steps or just a general direction of how to do this would be of great help |