[SOLVED] calculating wins
Hi. ive spent the last couple of days chewing over this one, im pretty sure im close, but something is missing and i cant seem to put my finger on it. im trying to do one of the challenges, but line 20 is giving me the error: "There is no argument that corresponds to the required formal parameter 'games' of 'Program.Player.GetWinRate(int,int)" https://code.sololearn.com/ca16A1036A25 you can find my current attempt here. the only thing ive changed from the original code from the challenge are the parameters in the method brackets, and the details in the method itself. The challenge reads: We are developing a profile system for players of our online game. The program already takes the number of games and wins as input and creates a player object. complete the GetWinRate() method inside the given Player class to calculate the output win rate. sample input 130 70 sample output 53 Explanation Win rate is calculated by this formula wins * 100 / games. So in this case the win rate is 70 * 100 / 130. the final result should output an integer. notice that you should execute the output of the win rate inside the method. if anyone could indicate what i could do to get this to work, id very much appreciate it. thank you!