Cricket Scorecard: Player'S Details
Cricket Scorecard: Player'S Details
AND
PLAYER’S DETAILS
PROJECT DONE BY
ARAVINT ANNAMALAI
XII-A4
ROLL NO.:12A405
To get the batting statistics(name, runs scored, number of balls
faced and dismissal) and bowling statistics(name, overs bowled,
runs conceded and wickets taken) of each and every player
during different instances of a one day international cricket
match and display the scorecard when the user wants to do so.
To get the entire ODI career statistics of each and every player
in the squad of both teams which includes:
Batsmen: Matches, runs scored, fifties, hundreds, no. of
dismissals, number of balls faced and calculate
batting average as (runs scored/no. of dismissals) and strike
rate as (runs scored*100/no. of balls faced)
Bowlers: Matches, runs conceded, wickets taken, five
wicket hauls, overs bowled and calculate bowling average
as(runs conceded/wickets taken) and economy as (runs
conceded/overs bowled).
and display the statistics of the players when the player name is
given.
If the given name is a bowler then his name, total
matches, wickets, five wicket hauls, average and economy
is displayed.
After executing each and every choice entered by the user,
a message asking whether the user wants to continue is
displayed. If the user enters y, the menu is displayed. Else
the program is exit.
FUTURE
ENHANCEMENT
This code can be modified to serve a variety of
purposes, out of which a few are listed below:
Can be used to control tournaments like world
cup,IPL etc…
Can be used to control bilateral series or tri-
series.
Can be used to control a test, one-day
international or a T20 cricket match.
Can be used to additionally monitor team
rankings as well as player rankings in addition to
cricket scorecard and player details.
BIBLIOGRAPHY
The reference made for the successful completion of the
project is:
Computer Science for Class XII by Sumita Arora
(Volume I and II).
SOURCE CODE
SAMPLE OUTPUT
CONTENTS
Title 1
Bonafide certificate 2
Acknowledgement 3
Problem Definition 5
Problem Analysis 7
System Requirements 11
Future enhancement 13
Source code 15
Sample output 22
Bibliography 30