Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Class help
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
fijo




PostPosted: 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!!!!!!!!



Class Schedule.doc
 Description:
tells you what the class schedule can do

Download
 Filename:  Class Schedule.doc
 Filesize:  36 KB
 Downloaded:  126 Time(s)


Class Game.doc
 Description:
tells you what the class game can do

Download
 Filename:  Class Game.doc
 Filesize:  37 KB
 Downloaded:  122 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
S_Grimm




PostPosted: 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
code:
[code] Insert code here [/code]


2) We do not give out answers here. we will help you solve your problem, but we will NOT write the code for you.
fijo




PostPosted: 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
code:
[code] Insert code here [/code]


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



assignment 5.rar
 Description:
the 2 classes

Download
 Filename:  assignment 5.rar
 Filesize:  1.17 KB
 Downloaded:  121 Time(s)

Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: