Results 1 to 3 of 3
Thread: Need help with homework.
- 07-31-2008, 02:00 PM #1
Member
- Join Date
- Jul 2008
- Posts
- 7
- Rep Power
- 0
Need help with homework.
I started summer session two weeks ago.... the Java class is 3 days a week, 4 hours a day.
When the instructor talks, I hear the words but it goes in one ear and out the other. Im having difficulties in class, and I do not want to drop. Instead, I want to learn in this class, and understand the Java language.
I just need help coming up with a program with this situation. I do not know exactly where to start.
------------------
Time for the Olympic Results
You are to design a Java program that will ask for input from the user and will display the Medal results from a 100 meter dash final event. There are 5 people running in the last heat of the race. You need to ask for 3 facts for each of the 5 entrants: the runners name, their country code and their race time in seconds.
The logic of your program should determine the first(Gold), second(Silver) and third(Bronze) place of the fastest 3 and then display their information in the following format.
Runner: Time: Country: Medal:
Justin Gaitlin 9.85 usa Gold
Fracis Obikwelu 9.86 por Silver
Maurice Green 9.87 usa Bronze
You may use any of the Input/Output methods we have discussed in class as long as the format of the output format is like what appears above between the lines.
-------------------------
- 07-31-2008, 02:13 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Ok, just start with the first step pal. Simply define a class and think a way from where you start. First step is get data about users. Do you know how to do it? Any attempt you have done so far?
- 07-31-2008, 03:06 PM #3
Similar Threads
-
Removal of Homework Requests
By CaptainMorgan in forum Suggestions & FeedbackReplies: 14Last Post: 08-03-2008, 09:21 PM -
thread homework
By integralli in forum Threads and SynchronizationReplies: 6Last Post: 06-21-2008, 04:34 PM -
Some input on a homework
By alcohole4life in forum New To JavaReplies: 1Last Post: 05-23-2008, 04:18 PM -
Help with my java servlet homework
By jellyfish888 in forum Java ServletReplies: 2Last Post: 12-21-2007, 05:41 PM -
Homework PREREQUISITE Problem
By ChrisC in forum New To JavaReplies: 7Last Post: 11-27-2007, 05:36 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks