Q:

Define a class to represent batsmen in a cricket team. Include the following members: Data Members: First name, Last name, Runs made, Number of fours, Number of sixes Member Functions:

(i) To assign the initial values

(ii) To update runs made (It should simultaneously update fours and sixes, if required). 

(iii) To display the batsman’s information Make appropriate assumptions about access labels.

CLASSES

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.