+ 2

maybe there is a better solution than this??

https://code.sololearn.com/cwe8yHTYaGcM

17th Nov 2021, 11:09 AM
Роман Жигунов
Роман Жигунов - avatar
3 Réponses
+ 4
Your code is good but I improved it a bit. https://code.sololearn.com/cC6bT61W6Z6f // Keep learning & happy coding :D
17th Nov 2021, 12:55 PM
SoloProg
SoloProg - avatar
+ 3
I see you used it I think it looks good you solved the problem.
17th Nov 2021, 2:17 PM
SoloProg
SoloProg - avatar
+ 2
SoloProg. Thanks) in sololearn the code works, but when I enter (100.25,80.99,40.00) into the computer, it shows "System.FormatException" error. To avoid this, I used the NumberFormatInfo class and its NumberDecimalSeparator properties
17th Nov 2021, 1:24 PM
Роман Жигунов
Роман Жигунов - avatar