AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Programming <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Steve Winn | Sean Dennis | A little help... |
April 2, 2004 9:44 PM |
|||
Re: A little help... > Hello, All. > > I'm needing a little help in designing a simple algorithm that's escaped my > poor math skills. > > I have been asked by my employer (McDonald's-the local owner/operator here) to > write a program that will track employees as they take specialized skill level > tests for different workstations around the store. All the tests are multiple > answer tests, so they're not hard to score. > > I'm writing this in Pascal using Virtual Pascal. > > What I'm trying to figure out (and here's where my poor math skills come into > play) is how I can take a score on a fourteen-question test and compute it so > can get a percentage from 0 to 100 and put it against a grading scale for a > letter grade. For some reason, this escapes me. > > Any and all help is appreciated! You mean like this: (14 / (total correct)) * 100 = percentage (round it to make an integer) if (percentage < 100 && > 90) grade = "A" if (percentage < 90 && > 80) grade = "B" etc etc And please note that the above is not in any programming language i'm aware of.. just wrote it to give you an idea. Steve -- [AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org] |
||||||
|
Previous Message | Next Message | Back to Programming <-- <--- | Return to Home Page |
Execution Time: 0.0178 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |