+ 1

Code coach maths problem

i made this sh*t but it feels like its real sh*t it works but there should be an easier way can someone explain me how to make this sh*t simpler? https://code.sololearn.com/cVD4Q3zRrxk3/?ref=app

28th Sep 2020, 2:23 PM
Mehmet Bera BĂŒyĂŒkyılmaz
Mehmet Bera BĂŒyĂŒkyılmaz - avatar
3 Answers
+ 3
Unfortunately SoloLearn just get 1 input and You have requested input twice[line 17,18] and second input is set to null reference. I recommend you running your program in visual studio, and send error number to me.
28th Sep 2020, 4:37 PM
hossein B
hossein B - avatar
+ 1
It seems your code works fine Just separate the 2 inputs with a return Like 15 (2*3) (3*5) (4"16)
28th Sep 2020, 6:07 PM
sneeze
sneeze - avatar
0
hossein B actually its working there is no errors and sololearn takes more than 1 input and i wrote in visial studio but thanks
30th Sep 2020, 8:26 AM
Mehmet Bera BĂŒyĂŒkyılmaz
Mehmet Bera BĂŒyĂŒkyılmaz - avatar