05-15-2003, 04:35 AM
Hey guys, its me again. I took what u guys said to heart, about trying the program first, and so here i am....stuck.
The program requires me to print out all the players stats and numbers, names etc... in a chart......and also at the bottom of the screen print out the person with most goals, and person with least goals...........here, goals count as 2 points and assists as 1.
heres what i have so far.....
CLS
FOR i% = 1 TO 16
READ name$, num%, goals%, assis%, gamewon%, pnts%
pnts% = (goals% * 2) + assis%
NEXT i%
DATA "Smith",24,5,19,2,pnts%
DATA "Watson",45,5,20,3,pnts%
DATA "Harrison",7,3,21,2,pnts%
DATA "Bradshaw",15,2,19,5,pnts%
DATA "Clemence",17,0,17,6,pnts%
DATA "Williams",21,0,12,4,pnts%
DATA "Parks",25,10,21,5,pnts%
DATA "Daubs",28,4,22,8,pnts%
DATA "Oaks",29,1,17,7,pnts%
DATA "Lyons",30,6,18,7,pnts%
DATA "Caryle",32,1,21,4,pnts%
DATA "Jennings",37,4,10,1,pnts%
DATA "Ewing",43,4,22,2,pnts%
DATA "Gilles",49,5,18,2,pnts%
DATA "Falks",55,8,19,0,pnts%
DATA "Redding",99,9,19,5,pnts%
Its not working...please , i need help......
thanx bye
The program requires me to print out all the players stats and numbers, names etc... in a chart......and also at the bottom of the screen print out the person with most goals, and person with least goals...........here, goals count as 2 points and assists as 1.
heres what i have so far.....
CLS
FOR i% = 1 TO 16
READ name$, num%, goals%, assis%, gamewon%, pnts%
pnts% = (goals% * 2) + assis%
NEXT i%
DATA "Smith",24,5,19,2,pnts%
DATA "Watson",45,5,20,3,pnts%
DATA "Harrison",7,3,21,2,pnts%
DATA "Bradshaw",15,2,19,5,pnts%
DATA "Clemence",17,0,17,6,pnts%
DATA "Williams",21,0,12,4,pnts%
DATA "Parks",25,10,21,5,pnts%
DATA "Daubs",28,4,22,8,pnts%
DATA "Oaks",29,1,17,7,pnts%
DATA "Lyons",30,6,18,7,pnts%
DATA "Caryle",32,1,21,4,pnts%
DATA "Jennings",37,4,10,1,pnts%
DATA "Ewing",43,4,22,2,pnts%
DATA "Gilles",49,5,18,2,pnts%
DATA "Falks",55,8,19,0,pnts%
DATA "Redding",99,9,19,5,pnts%
Its not working...please , i need help......
thanx bye
A lie told often enough, becomes the truth"