+ 2

What's wrong in this code? C#

See this code. https://code.sololearn.com/cHO0A0uUFpWz/?ref=app

16th Mar 2018, 3:48 AM
Robin
Robin - avatar
6 Answers
+ 5
I think it works. But you have to give all your input at once in Sololearn. Like: 30 30 10 and then push submit. And the last line (line 28) is odd. You ask for input without using it.
16th Mar 2018, 5:17 AM
Paul
Paul - avatar
+ 3
Thanks Paul my code us working now and Alex thanks but I only understand English.
16th Mar 2018, 5:58 AM
Robin
Robin - avatar
+ 2
creo que tu cĂłdigo esta completamente bien, pareciera mas bien que sololaern no pudiese convertir de string a int... al compilarlo talcual Como lo escribistes anduvo en mi PC ._ . jajaja v: muy raro!!!
16th Mar 2018, 5:10 AM
Alexx~
Alexx~ - avatar
+ 2
Paul tienes razon, pero porque si el esta agregando 2 Console.Write() Porque deben ingresarse los 2 valores a la vez? deberian salir dos input para ingresar los numeros
16th Mar 2018, 5:26 AM
Alexx~
Alexx~ - avatar
+ 2
its ok Alex no problem man.
16th Mar 2018, 9:23 PM
Robin
Robin - avatar
+ 1
I speak English but not perfectly :( sorry
16th Mar 2018, 11:19 AM
Alexx~
Alexx~ - avatar