0

Can someone help with the last Code Project in C#

I solved it and I says Case 1 correct case 2 correct, but hidden case 3 is incorrect. I think its because of the integer division because for example 10 / 3 = 3. My formula was: price = price - price / (100 / discount) Can someone please help me?

28th Aug 2022, 11:50 AM
Loris
2 Réponses
0
Not enough information. It may depends on your type of values.. Can you share the task description with code link.?
29th Aug 2022, 10:02 AM
Jayakrishna 🇮🇳
0
I already solved it. Thanks for your help
30th Aug 2022, 11:21 AM
Loris