- 1
Halloween Candy Prop
I have solved this problem outside && it worked but sololearn testers aren't passing me plz help in any language u know edit: sorry guys here's the code double percentage = (2 / houses) * 100; Console.WriteLine(Math.Ceiling(percentage)); edit2: solved with `(2/ (double) houses)` but why must i convert it from int to double first?
2 Respostas