0

Tried to code on my own

I don’t have an IDE, so I hunted down an online one. As soon as I tried to code something (a simple C++ case code) it didn’t work. https://code.sololearn.com/ccIwOfcQpVNt/?ref=app Any help?

18th Apr 2019, 3:54 AM
Carson Perry
Carson Perry - avatar
4 ответов
+ 3
Why are you posting someone else's code when you said "Tried to code on my own"?
18th Apr 2019, 5:07 AM
Ipang
+ 3
Neither did I Yugabdh , but then I see it when opening the code "oh did he change avatar, that's not what I saw in Q&A" LOL
18th Apr 2019, 5:13 AM
Ipang
+ 1
Why your taking input in the same variable "number" it will overwrite the previous value. Use num1 and num2 for inputs then add them. If you want an online IDE, try online gdb https://www.onlinegdb.com/
18th Apr 2019, 3:59 AM
Yugabdh
Yugabdh - avatar
+ 1
Ipang lol I didn't even notice that one
18th Apr 2019, 5:11 AM
Yugabdh
Yugabdh - avatar