Assignment is Attached
COP3014 Fundamentals of Programming - Extra Credit Program (Fall 2013)
Due: Thursday, December 12, 2013 @ 11:59 p.m.
(NO EXCEPTIONS, NO LATE SUBMITTED PROGRAMS ACCEPTED)
Files to Submit:
• [login to view URL] (main program)
• [login to view URL] (the Implementation File)
• LastName_BBallPlayer.h (the Specifications File)
Problem Statement:
Design an BBallPlayer class that can hold information and calculate data for players on a little league basketball team. The class should have the following member variables (private variables):
jerseyNumber - an int that holds the player’s jersey number
position - an char that holds the player’s position
(P – Point G, S – shooting guard, F – small forward, R –
power forward, and C – center)
gamesPlayed - an int representing the total games played by this player
pointsScored - an int representing the total points scored by this player
pointsPerGame - a float for holding the average points per game
(calculated as pointsScored / gamesPlayed)
The class should have the following member functions (public functions):
Constructor#1 - sets all member variables to 0 or blank
Constructor #2 - has as arguments the jersey number, position, games
played and points scored, and will assign these
to the member variables as well as calculate the
points per game
average and store that in pointsPerGame.
setJerseyNumber - accepts an int argument, and copies that into the
jerseyNumber variable.
setPosition - accepts a char argument used to set the position value
setGamesPlayed - accepts an int and sets gamesPlayed variable to that value
setPointsScored - accepts an int and sets pointScored variable to that value
setPPG - calculates the points per game average and sets
pointsPerGame to that value
getjerseyNumber - returns the value of the jersey number
getPosition - returns the value of the position variable
getGamesPlayed - returns the value of the gamesPlayed variable
getPointsScored - returns the value in pointsScored variable
getPPG - returns the value in pointsPerGame
Your main program should do the following:
1) Define three variables of the BBallPlayer class, Player1, Player2, and Player
3. Initialize Player1 with values entered by the user, and initialize Player2
and Player3 to 0 for all variables.
2) Reset Player2 to contain values entered by the user – you must ask the user for the
values and then call the functions to set them.
3) Print the values stored in each of Player1, Player2, and Player3
4) Let the user reset the games played and points scored for Player2 and Player3
5) Calculate the points per game average for all 3 objects again
6) Print the values stored in the Player1, Player2 and Player3 objects again.
Notes:
1. Submit your program using the steps above – DO NOT email (it will not be graded)
2. No global data objects are allowed except for the constants.
3. Do not include any documentation except for your name and lab session
//Your name ExtraCredit
Grading Policies:
Program compiles and runs and has no classes at all -100
Program has global data objects -100
Program compiles and runs but has Incomplete class definition -10
Program compiles and runs but Incorrect format for the output -10 (for each
occurrence)
Program does not compile (but has good logic and structure) -60
Program does not compile and has poor logical structure -discretion
Program is copied – very similar to someone else’s -100 for BOTH people
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C++ and algorithm skills. I am focused mostly on doing computer science homework here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result.
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the lauguage is c++ under linux os. So, programming in c++ is never a problem. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ with the same meaning, ofcourse garbage collection included. I made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
Hi, I am Asad . I am Final year student at Fast university. I have a lot of experience in C++ programming. This is very easy program for me, Hire me,wont disappoint you ,cheers :D
Hello. I have a great experience in working with students assignments in c/c++ and java. I have 100% completing rate and all of the my employees are satisfied with the quality and speed of my work. See my profile to be sure of this.
I can start the work right now. Don't lose your money and time. contact me please for more information
Hello,
I understood the requirements of the project. I can finish it within 1 day. I have many of this kind of assignments previously. Please check my profile.
Waiting for your response.
Regards
Lokesh Jaiswal
Hi,
I am a graduate in CS and working as a C++ programmer for 3+ years.
I have done lots of assignments both in academic courses and in freelancer.com.
I assure you of clean, efficient code with proper comment and documentation.
thanks
Hi,
i am a post graduate student in computer science and i can do this program in minimum time and budget.
Please visit my profile to know about my previous work i have done many Automata,Discrete Math,DataStructure Assignments in minimum budget with 100% satisfaction of students and clients.
Award this project to me for good grades.
can we discuss in chat?
Thanks
Arpit
Hello,
I can complete this in less than a day. I will do exactly whatever and however is specified in the assignment document. Do look at my past projects for getting a feel of accuracy of my project delivery.
Thanks
I can get this done very quickly and easily, with clear formatting. In fact, I'm already done, so you'd have plenty of time to review it and have me make any necessary changes.
Hi,
I can start this right now.......Expert in OOP concepts... This is so simple to me... Let me handle this.. can deliver before the required date...
Thank You
Hello,
I'll really be glad to this project for you.
I am a new free lancer, and I am looking for an opportunity to prove myself!
Kindly accept my offer and allow me to show you some exceptional work!
Thank you,
Pranish.
10+ years c/c++ programming experience. this is a simple task, i can start right away and finish this less then 1 day if you don't have other requirements.
Hello,
I'm a software engineer with 5 years experience in C/C++ programming and Java.
I'll prepare the code compiled, and tested in one day maximum.
Hope to get this job, Best regards,