C Programming Project (Easy)
$30-250 USD
Pagado a la entrega
This program will keep track of win-tied-loss and points earned records for team. There are 6 teams and each week there are three games (one game per team per week). The program should first prompt the user to enter the number of weeks (up to 10 weeks in total). Then, for each week, the program should prompt for each game, the team numbers that played followed by the score of the game. Enter the team numbers and game scores in an array within the program rather than user typing at command prompt.
After reading in each week, the program should print out the win-tied-loss records and points earned for each team. A win is two points, tied game is one point and a loss is zero points. For example:
How many weeks of data: 3
For week 1, game 1, enter the two teams and the score: 0 1 1 4
For week 1, game 2, enter the two teams and the score: 2 3 1 2
For week 1, game 3, enter the two teams and the score: 4 5 2 0
For week 2, game 1, enter the two teams and the score: 0 2 3 0
For week 2, game 2, enter the two teams and the score: 1 4 0 1
For week 2, game 3, enter the two teams and the score: 3 5 4 4
For week 3, game 1, enter the two teams and the score: 0 4 8 7
For week 3, game 2, enter the two teams and the score: 1 5 0 0
For week 3, game 3, enter the two teams and the score: 2 3 6 9
League Standing after 2 weeks:
W T L
Team 0 2 0 1
Team 1 1 1 1
Team 2 0 0 3
Team 3 2 1 0
Team 4 2 0 1
Team 5 0 2 1
Points Table:
Team 3 5
Team 0 4
Team 4 4
Team 1 3
Team 5 2
Team 2 0
Modify to add the winning percentage for each team.
Modify to compute and print for each team the total points scored for and against.
II) Modify your game standings project to predict a future game. After all the statistics have been printed, the program should prompt the user for two teams. The computer will predict the winner by choosing the team that has the best record. For example, after printing out the statistics, the program might:
What teams will play next week? 1 2
I predict Team 1 will win.
Modify your program to be more sophisticated in predicting the winner. For example, you could base the prediction on average score margin. Assume that the second team entered each week is the home team. You might give some extra weight in your prediction to the home team. You might also check to see if the two teams have played before and who won and perhaps by how much.
Your program must be broken into 4-5 different functions, static arrays only.
Nº del proyecto: #877209
Sobre el proyecto
19 freelancers están ofertando un promedio de $51 por este trabajo
I work in the team of PROTECH.com. We are experts in application development and programming projects. We have been doing similar projects for our local & foreign customers and would be happy to assist you in this rega Más
Dear Sir, Confident Bidder - Immediate delivery (you may consider my bid bit high - but I think it is worth for the quality of work I will give you )
I can do this for you. I am 3+ year experience programmer. Awaiting your response. can start immediately.
i am Computer Software Engineering Student and i already solved such problems before.