Console CURRENT DATE: GAME DATE: DAYS UNTIL GAME: 2 MENU OPTIONS 1 Display lineup 2- Add player 3 Remove player 4- Move player 5 6 7 Edit player position Edit player stats Exit program Baseball Team Manager 2021-03-19 2021-3-21 POSITIONS C, 1B, 2B, 3B, SS, LF, CF, RF, P Menu option: 1 Player 1 Tommy La Stella 2 Mike Yastrzemski 3 Donovan Solano 4 Buster Posey 5 Brandon Belt 6 Brandon Crawford 7 Alex Dickerson 8 Austin Slater 9 Kevin Gausman Menu option: 2 First name: Mike Last name: Murach Position: c At bats: 0 Hits: 0 Mike Murach was added. Menu option: 7 Bye! POS 3B RF 2B с 1B ss LF CF AB H 1316 360 563 168 1473 407 4575 1380 3811 1003 4402 1099 586 160 569 147 56 2 AVG 0.274 0.281 0.276 0.302 0.263 0.250 0.273 0.274 0.036 Specifications • Use a Player class that provides attributes that store the first name, last name, position, at bats, and hits for a player. This class should also provide methods or properties that return the player's full name and batting average.
Console CURRENT DATE: GAME DATE: DAYS UNTIL GAME: 2 MENU OPTIONS 1 Display lineup 2- Add player 3 Remove player 4- Move player 5 6 7 Edit player position Edit player stats Exit program Baseball Team Manager 2021-03-19 2021-3-21 POSITIONS C, 1B, 2B, 3B, SS, LF, CF, RF, P Menu option: 1 Player 1 Tommy La Stella 2 Mike Yastrzemski 3 Donovan Solano 4 Buster Posey 5 Brandon Belt 6 Brandon Crawford 7 Alex Dickerson 8 Austin Slater 9 Kevin Gausman Menu option: 2 First name: Mike Last name: Murach Position: c At bats: 0 Hits: 0 Mike Murach was added. Menu option: 7 Bye! POS 3B RF 2B с 1B ss LF CF AB H 1316 360 563 168 1473 407 4575 1380 3811 1003 4402 1099 586 160 569 147 56 2 AVG 0.274 0.281 0.276 0.302 0.263 0.250 0.273 0.274 0.036 Specifications • Use a Player class that provides attributes that store the first name, last name, position, at bats, and hits for a player. This class should also provide methods or properties that return the player's full name and batting average.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter11: Introduction To Classes
Section11.2: Basic Class Functions
Problem 12E
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 9 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr