0

Why is the sololearn C++ compiler always not giving expected results?

I have tried multiple times on the C++ compiler to do my code but where input is required it does nothing makes my code look like I've done nothing in my Calculator.cpp code

20th Jan 2021, 11:26 AM
Code.Twister
Code.Twister - avatar
3 Answers
+ 1
Can you link your code here?
20th Jan 2021, 11:31 AM
Zohaib 👑
Zohaib 👑 - avatar
+ 1
Code.Twister You need to add multiple input on different line like. 1 for switch case 2 3 Your ans will be 5
20th Jan 2021, 11:33 AM
Zohaib 👑
Zohaib 👑 - avatar
+ 1
See this to know how input is handled by sololearn ( and many other online server based IDEs) 👇 https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
20th Jan 2021, 12:21 PM
Arsenic
Arsenic - avatar