473,320 Members | 1,858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

An app to generate the standing of a race

Hi,
I'm quite a newbie and I want create an application to generate the
standing of a race.
1 - You enter the data relating to the racers:
Name
Number
Points in round 1
Points in round 2

2- The app calculates the total of points for each racer.

3- The app give the list of the racers from the one who have the most
of point from the one who have the less of point.

4- I can print and save the list.

5- I want to a the possibility to load it again.

Any help would be appreciate.
Thank you.

Rita

Mar 31 '07 #1
3 1068
Rita,

Is this homework for a programming course?

If not, you should consider signing up for a programming course.

Kerry Moorman
"mr*****@hotmail.com" wrote:
Hi,
I'm quite a newbie and I want create an application to generate the
standing of a race.
1 - You enter the data relating to the racers:
Name
Number
Points in round 1
Points in round 2

2- The app calculates the total of points for each racer.

3- The app give the list of the racers from the one who have the most
of point from the one who have the less of point.

4- I can print and save the list.

5- I want to a the possibility to load it again.

Any help would be appreciate.
Thank you.

Rita

Mar 31 '07 #2
Rita,

Is this homework for a programming course?

If not, you should consider signing up for a programming course.

Kerry Moorman
"mr*****@hotmail.com" wrote:
Hi,
I'm quite a newbie and I want create an application to generate the
standing of a race.
1 - You enter the data relating to the racers:
Name
Number
Points in round 1
Points in round 2

2- The app calculates the total of points for each racer.

3- The app give the list of the racers from the one who have the most
of point from the one who have the less of point.

4- I can print and save the list.

5- I want to a the possibility to load it again.

Any help would be appreciate.
Thank you.

Rita

Mar 31 '07 #3
On Mar 31, 10:56 am, mrja...@hotmail.com wrote:
Hi,
I'm quite a newbie and I want create an application to generate the
standing of a race.
1 - You enter the data relating to the racers:
Name
Number
Points in round 1
Points in round 2

2- The app calculates the total of points for each racer.

3- The app give the list of the racers from the one who have the most
of point from the one who have the less of point.

4- I can print and save the list.

5- I want to a the possibility to load it again.
The people who help others here will not write your program for you.
It is generally expected that you will attempt the write the program
yourself and then ask specific questions about things you are having
trouble with.

Here are some hints to help you get started:

1. You will need some way to store the Name, Number, and points. The
Name and Number will probably be string variables (unless you need to
do some calculation with Number in which case it should probably a
numeric type). Since you will doing calculations using the points,
they should be a numeric variables.

2. You will need a numeric variable to hold the sum of the points for
each racer.

3. Once you have calculated the points, you will want keep track of
each racer, perhaps using a list. To display them in order, you will
have to sort the list.

4. For printing, do you mean to paper? Or to the screen? If to the
screen, you can use a label or if you are writing a console program,
you can use Console.WriteLine().

5. For saving and loading the list, you will use the classes in the
System.IO namespace.

In general, when writing a program, you should break it down in to
smaller tasks. So take each of the 5 items you listed and just
concentrate of getting each one to work. But as you do, try to keep
in mind how each of the smaller tasks will affect the others.

Good luck,

Chris

Apr 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: GIMME | last post by:
One of my coworkers insists that one should never use static methods because race conditions exist. Thinking along the lines that all variable assignments are assignments to static variables. ...
5
by: Rebecca Smith | last post by:
I'm building log book to keep track of a racers stats during a long ultra marathon race. Things such as time on the bike, time off, H20 intake, electrolytes and the like. When I say long I mean...
1
by: Swami Tota Ram Shankar | last post by:
"Bob Weigel" <dontuwish@nothing.net> wrote in message > > While George Bush, is the epitome of evil, racism, and uncompassionate > > conservatism, Kerry is either deluded, very deluded, or...
18
by: Urs Vogel | last post by:
Hi I wrote an application server (a remoting sinlgeton), where processes must be stopped in very rare cases, done thru a Thread.Abort(). Occasionally, and only after a Thread.Abort(), this...
18
by: Larry Herbinaux | last post by:
I'm having issues with garbage collection with my long-standing service process. If you could review and point me in the right direction it would be of great help. If there are any helpful...
3
by: RossettoeCioccolato | last post by:
Is there a brief tutorial somewhere on how to use the VC8 linker to generate a manifest for an isolated application with a dependency section for an arbitrary dll? There are some implementation...
2
by: aldaris | last post by:
"race N cars are lined up at the starting line of a Formula 1 race. Task Write a program that determines in how many ways the cars can pass the finish line, knowing that there may be more than one...
1
by: mrjaune | last post by:
Hello Everyone, I want to create an application to do the standing of a race. First part, for each pilot I want to enter: his name, his number, his team, the number of points. Second part, when...
7
by: Berryl Hesh | last post by:
I wouldn't nomally post this here, as it has something to do with the ListView control usage I think, or maybe with a race condition or some windoes messaging. I'm just not sure. The test below...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.