407039: GYM102697 010 Points per Game
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
010. Points per Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output
Your favorite basketball player is the leading scorer in the country, and you want to know exactly how good they are. Points per game is measured as points divided by games played, and is used to rank leading scorers in basketball.
InputThe first line of input contains a positive integer p indicating the total points scored by the player so far during the season. The second line of input contains a positive integer g indicating the total games played by the player so far during the season.
OutputOutput one decimal number ppg, the player's current points per game. This value can be calculated as p / g
ExamplesInput78 7Output
11.142857142857142Input
89 15Output
5.933333333333334