A program in QBASIC where you can understand the simple point system of 'DREAM 11'
REM POINT SYSTEM (optional parameter)
INPUT "RUNS MADE", R
R = 0.5 * R
INPUT "FOURS HIT", F
F = 0.5 * F
INPUT "SIXES HIT", S
S = 1 * S
INPUT "WICKETS TAKEN", W
W = 8 * W
INPUT "CATCHES TAKEN", C
C = 4 * C
INPUT "RUN OUTS MADE", RM
RM = 2 * RM
INPUT "STUMPINGS DONE", ST
ST = 6 * ST
INPUT "MATCHES", M
M = 2 * M
INPUT "THE PLAYERS POINTS ARE", FP
FP = R + F + S + W + C + RM + ST
PRINT FP
END
Hope you like my program and please leave a comment on it
No comments:
Post a Comment