Find Jobs
Hire Freelancers

C++ program for Football prediction using constructors, classes and problem analysis

$10-30 USD

Terminado
Publicado hace más de 10 años

$10-30 USD

Pagado a la entrega
Program Requirements You are to read in 3 input files. These files were built using data from the website: [login to view URL] a team name file. This file contains the 32 names of the NFL teams. a games played file. This file contains records for the games played to date in the 2013 season. Note: this file will be updated and replaced later in the season. a one week schedule file. This file contains a list of games scheduled for one week of the 2013 NFL season. Note: this file will be updated and replaced with the week 13 schedule later in the season. You are to create 3 classes for your program. NFL class. This class will hold all the data for the 32 teams. Team class. This class will hold the data for one team, including a history of 2013 games played by that team. Game class. This class will hold the data for one game played. That is, two team names and two scores. Each class must contain one or more constructor. Your solution must contain the use of one friend class or one friend function. Program Output Your program should produce two output reports. A list of team statistics report similar to the following. Note, this is sample data. The actual data will change as the season progresses. Team PF PA AvMrg MomAv ------------- --- --- ----- ----- Arizona 214 212 0.2 3.3 Atlanta 214 292 -7.8 -11.4 Baltimore 208 212 -0.4 -0.9 Buffalo 236 273 -3.4 -0.5 Carolina 214 115 11.0 11.4 Chicago 282 267 1.5 1.4 ... PF is points for. That is the total points scored by the team to date in the 2013 season. PA is points against. That is the total points given up by the team to date in the 2013 season. AvMrg is average margin. A game margin is points scored - points given up. The average margin is the average of the game margins of the games played to date in the season. MomAv is momentum average. This statistic is a weighted average in which the most recent games count more than earlier games played. It is calculated like this: Assume you are calculating the momentum average for a team that has played 5 games. The momentum average is determined using the formula, MA = ( (1/6) * game1 margin + (1/5) * game2 margin + (1/4) * game3 margin + (1/3) * game4 margin + (1/2) * game5 margin ) / ( 1/6 + 1/5 + 1/4 + 1/3 + 1/2) When you calculate the momentum average for a team that has played 10 games, it will look like this: MA = ( (1/11) * game1 margin + (1/10) * game2 margin + (1/9) * game3 margin + ... + (1/2) * game10 margin ) / ( 1/11 + 1/10 + 1/9 + ... + 1/2) A prediction report using this week 13 schedule. Your report should look similar in concept to the following. Predictions Green Bay at Detroit tie Oakland at Dallas Dallas by 4 Pittsburgh at Baltimore Baltimore by 1 Jacksonville at Cleveland Cleveland by 12 Tennessee at Indianapolis Indianapolis by 2 Chicago at Minnesota Chicago by 10 Miami at NY Jets Miami by 9 Arizona at Philadelphia Philadelphia by 2 Tampa Bay at Carolina Carolina by 14 New England at Houston New England by 16 Atlanta at Buffalo Buffalo by 8 St. Louis at San Francisco San Francisco by 5 Denver at Kansas City Denver by 3 Cincinnati at San Diego Cincinnati by 8 NY Giants at Washington NY Giants by 3 New Orleans at Seattle Seattle by 2 The prediction is determined by taking the average of the average margin and the momentum average for the two competing teams. The team with the larger average is the winner, and predicted margin is the difference between the two averages. The predicted margin must be rounded to whole numbers. A tie is predicted if the predicted margin is less than 0.5.
ID del proyecto: 5163244

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 10 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
A proposal has not yet been provided
$18 USD en 1 día
5,0 (147 comentarios)
5,8
5,8
5 freelancers están ofertando un promedio de $27 USD por este trabajo
Avatar del usuario
Hello, I am C++ expert and can surely help you here with this project, Please let me know if you are interested. Thank You
$30 USD en 1 día
4,8 (111 comentarios)
5,9
5,9
Avatar del usuario
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 have implemented similar solutions to this problem and I know the back tracking algorithm very well. 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.
$30 USD en 0 día
4,9 (78 comentarios)
5,2
5,2
Avatar del usuario
Hello. I have great experience in work with c++ for US employees. See the examples of my c++ asigments in my portfolio. Hire me and don't spend your money and time
$25 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
As i am a C++ expert and have experienced in system design, so i think its easier for me to do this work
$30 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Sunnyvale, United States
5,0
22
Miembro desde oct 16, 2013

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.