research-writing-services
4.8
research-writing-services
4.9
research-writing-services
4.7

C++ Project Basketball Team Game High Score Programming Help

C++ project ************************************************************************************************ Need the commentsThe project need to be Simple and easy to understand.Use some basic knowledge. ************************************************************************************************ Instructions: 1) This assignment should be done in teams of two members. 2) When you finish with the code, submit the a zip file in Canvas. 3) The zipped file you send must have the following format. Last name1_LastName 2_ CS2_Project . Example: John Adams and Michael Lee, then the file you submit must be named adams_lee_Cs2_project. zip . No need to submit both members but the submission need to clearly specify who is working on the assignment. 4) The zip file should contain: Project .cbp file (The project created) class.h file , clas.cpp file and main.cpp Just zip the project folder and upload it. 5) Ask the instructor for any doubt when doing the assignment. A basketball team develop a program that hold the statistics (points per team and player). The team has 7 players. Each player provides the following information: Name Position Points in each game (10 games played) Write a program that reports the following information to the output file Basketball_report.txt Player 1 Name Position total points avg per game Player 2 Name Position total points avg per game . Team Total points: xxxx Avg per game : xxx.xx Requirements of the program: 1) Create a class called Player: Write the proper attributes Name (string), Description (string), points[] for every game (array of int) and the correct functions (Accessors and mutators that access and update the info of the variables. Create the right specification file and implementation file. (.h and .cpp files) 2) Create a player (player1) and initialize its members to the following values: name= , description= and points [0,0,0,0,0,0,0,0,0,0] through a constructor. (Create a private function called by the constructor to build the array) 3) Create 5 more players using a copy constructor. (Keep those players in an array. 4) The program asks to enter every player s info to the user and keep that info in the instance variables of every player (Use the mutators). 5) Create an extra object of the class player (player_extra) and assign player1 to player_extra . (Overload the =operator) Then change Player_extra points (use the mutator to update the array contents) 6) Use the iomanipulators to display the total points of the team ,average points per game, total points per player, and avg per player results in the output file. Use fixed, setw(), setprecision(2), and showpoint. 2 Extra point(voluntary) : Update the program to read the input data from a file called data.txt this should contain all the info for every player but the player_extra in every line.

Related Posts

Quality Writing Features

Price Start $10
  • 24/7 Customer Support
  • All Subject Areas
  • Money-Back Guarantee
  • Timely Delivery
  • Originality report
  • Confidentiality guaranteed

Ordering Homework Writing Service

You can get our ideal online homework help services with four easy steps. All you have to do is inform us of your requirements. Immediately we will match with a specialist in your academic discipline. After that, we will track your order, review it to ensure it meets your requirements, and submit it to your email.

research-writing-services

Submit Requirements

Fill in your assignment instructions on the order form

research-writing-services

Writer match

Immediately you contact us for homework help; we will assign your assignment to an academic expert.

research-writing-services

Quality review

We have a team of editors, who will thoroughly review your assignment, ensuring there are no errors before submission

research-writing-services

Get Your Completed Paper

Once we have completed the assignment, we will deliver it to your account. Additionally, we will send a notification to your email.

ordernow

Affordable

Budget-friendly writing services

ordernow

Privacy

We don’t share our client’s information with a third party

ordernow

Unique

We write every assignment from scratch

Amazing Homework Writing Features

Once you consult us for homework help online services, you will attest to why we are among the USA's best essay writing services.

Read on and find out some of the features that make our services superlative.

Free Homework Writing Services

Free plagiarism checker

You can confirm that the content you get is original for free using our plagiarism checker.

Free samples

We offer unlimited access to our essay homework samples.

Free title page and bibliography

Once you place an order, we format it accordingly without demanding additional charges.

Free unlimited revisions

We offer free unlimited revisions until your assignment is of your desired quality..

Free editing and proofreading

We have a team of specialized editors who review your assignment before submission.

Free customer support

You can track the progress of your homework for free.

Request for Homework Writing Service Today!

We have over 500 homework writing experts, ready and waiting to help you improve your writing skills