Untitled document - Google Docs

1 answer below »
pfa


Untitled document - Google Docs
Answered 5 days AfterJun 19, 2021

Answer To: Untitled document - Google Docs

Tejas answered on Jun 24 2021
150 Votes
Assignment1/cpp-1-canomw2l-i1l5yi5f-1-mvi3garm.pdf
Assignment1/Test/bin/Debug/Test.exe
Assignment1/Test/ob
j/Debug/main.o
Assignment1/Test/obj/Debug/player.o
Assignment1/Test/player.cpp
Assignment1/Test/player.cpp
#include
#include"player.h"
void Player::set_first_name(std::string playerFirstName)
{
    firstName = playerFirstName;
}
std::string Player::get_first_name()
{
    return firstName;
}
void Player::set_last_name(std::string playerLastName)
{
    lastName = playerLastName;
}
std::string Player::get_last_name()
{
    return lastName;
}
void Player::set_batting_average(double playerBattingAverage)
{
    battingAverage = playerBattingAverage;
}
double Player::get_batting_average()
{
    return battingAverage;
}
Assignment1/Test/player.h
#ifndef PLAYER
#define PLAYER
#include
class Player
{
private:
std::string firstName;
std::string lastName;
double battingAverage;
public:
void set_first_name(std::string);
std::string get_first_name();
void set_last_name(std::string);
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here