+ 1
Y iam getting output as 8 if i run the program
5 Respuestas
+ 6
Is this the code that is causing problem?
https://code.sololearn.com/cOfkFkqjIwTs/?ref=app
TIPS: How to share a code:
1. Open the code in SoloLearn editor. If you don't have any yet, create a new one. Don't forget to save any changes (important!).
1.1. If you use mobile app - tap on Share button on top right side of editor → Copy to clipboard
1.2. If you use browser - highlight and copy code URL from browser's address bar.
2. Go back to this thread and edit your original post.
2.1. If you use mobile app - long press on Description input → Paste
2.2. If you use browser - right click on Description input → Paste.
3. Add C++ to Relevant Tags
4. Add descriptive explanation about your problem in Description input.
P.S. In case you didn't know how to enter multiple inputs, you need to write each input on a separate line in the input dialog. For your code requires 2 inputs, you write like this:
10 <- for first input
20 <- for second input
.... and so forth ...
+ 3
Could you try linking to the code your having troubles with? It's a little difficult to come up with an answer with little information, so it would just make it easier to help out d:
+ 3
I run the code, and enter these values in the input dialog:
5
6
The code output:
3
4
5 6
What exactly is the problem? the code runs as expected.
0
https://code.sololearn.com/cOfkFkqjIwTs/?ref=app
What will be my exact output ?? I