itaqua / reto-rtd Goto Github PK
View Code? Open in Web Editor NEWReto Resuelve
Reto Resuelve
El sueldo de los jugadores del Resuelve FC se compone de dos partes un sueldo fijo y un bono variable, la suma de estas dos partes es el sueldo de un jugador. El bono variable se compone de dos partes meta de goles individual y meta de goles por equipo cada una tiene un peso de 50%.
Tu programa deberá hacer el cálculo del sueldo de los jugadores del Resuelve FC.
¿Cómo se calculan los alcances de meta y bonos?
La meta individual de goles por jugador depende del nivel que tenga asignado:
Nivel | Goles/mes |
---|---|
A | 5 |
B | 10 |
C | 15 |
Cuauh | 20 |
Ejemplo: Los jugadores Juan, Pedro, Martín y Luis anotaron así durante el mes:
Jugador | Nivel | Goles anotados en el mes/mínimo requerido |
---|---|---|
Juan | A | 6/5 |
Pedro | B | 7/10 |
Martín | C | 16/15 |
Luis | Cuauh | 19/20 |
total | 48/50 |
En el bono por equipo tendrían un alcance de 96% Luis tendría un alcance individual de 95% para un alcance total de 95.5% El suelo fijo de Luis es de 50,000.00 y su bono es de 10,000.00 por lo que su sueldo final será $59,550.00
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.