Pages

100 Contemporary Living Room Designs

Books

1 comment:

  1. Write a C++ program to store the performance of each player of the test match which has been played between Pakistan and South Africa. Input player name, country name, runs scored, counts of wickets taken, good fielding, missed fielding, catches taken, catches dropped for each player of both the teams. You can store this information in array of 'player' structure. In the player structure include another data member named performance, which can be calculated using following formula; Performance = (runs scored / 30) + (wickets taken * 30) + (good fielding * 5) -(missed fielding * 5) + (catches taken * 10) - (catches dropped * 10) After calculating and updating the performance of every player display the name of the 'Man of the Match' (i.e. the player who has highest performance value).

    ReplyDelete