Set the name data member of player1 to the string entered


Write code in a client program to do the following:
Declare an object player1 of type Player.
prompt use to enter a name and read it from the standard input device.
set the name data member of player1 to the string entered by use.
prompt user to enter a score and set the score data member for player1. 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Set the name data member of player1 to the string entered
Reference No:- TGS0111515

Expected delivery within 24 Hours