Charles has a pie. He used his scale and found out that the pie is g.
He is trying to fairly distribute his pie to friends. ( and are always given positive.) Complete given code to print the result below.
- Execution result:
(when n = 100 and m = 3)
Enter two integers: 100 3 w is 100 and m is 3. Each friend will get 33.333332g of pie.
2000 ms
512 MB