1. Write the interface (.h file) of a class Player containing:
A data member name of ty...
![subject](/tpl/images/cats/fizika.png)
1. Write the interface (.h file) of a class Player containing:
A data member name of type string .
A data member score of type int .
A member function called setName that accepts a parameter and assigns it to name . The function returns no value.
A member function called setScore that accepts a parameter and assigns it to score . The function returns no value.
A member function called getName that accepts no parameters and returns the value of name
A member function called getScore that accepts no parameters and returns the value of score .re.
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Physics
![question](/tpl/images/cats/fizika.png)
Physics, 22.06.2019 00:30
Which of the following elements is in the same period as phosphorus? a. carbon c. nitrogen b. magnesium d. oxygen select the best answer from the choices provided a b c d
Answers: 1
![question](/tpl/images/cats/fizika.png)
Physics, 22.06.2019 06:00
Which of the following changes will result in a stronger electromagnet? a. using fewer coils of wire b. using a higher voltage c. using a shorter nail d. using a longer wire
Answers: 1
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/fizika.png)
Physics, 22.06.2019 20:00
An element becomes a positively charged ion when itloses protons.loses electrons.gains electrons.gains neutrons.
Answers: 2
You know the right answer?
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/biologiya.png)
Biology, 22.10.2020 18:01
![question](/tpl/images/cats/geografiya.png)
Geography, 22.10.2020 18:01
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.10.2020 18:01
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 22.10.2020 18:01
![question](/tpl/images/cats/health.png)
Health, 22.10.2020 18:01
![question](/tpl/images/cats/himiya.png)
Chemistry, 22.10.2020 18:01