+ 4

I want to write your number is 4 your second number is 3 the sum is 7

https://code.sololearn.com/c1yCesEvrQL9/?ref=app

5th Jul 2017, 7:34 PM
Ufuk Gulum
Ufuk Gulum - avatar
6 Respostas
+ 4
The problem is that you should put cin ahead of outputing the variable. Take a look at the code corrected and if you have any other question just ask... https://code.sololearn.com/c5DI475ixAnP/?ref=app
5th Jul 2017, 7:48 PM
Ledio Deda
Ledio Deda - avatar
+ 2
There is another discussion similar to this https://www.sololearn.com/discuss/506662/?ref=app
5th Jul 2017, 7:48 PM
Ledio Deda
Ledio Deda - avatar
+ 2
yetişemedim ama :( cin komutuyla kullanıcıdan değer alırsın onu üste yazman gerekiyordu bir de /n yerine endl kullanırsan sorun çözülüyor :) https://code.sololearn.com/cXssYbrGr7UI/?ref=app
5th Jul 2017, 7:56 PM
Yüsein Ali
Yüsein Ali - avatar
+ 1
thank you very much
5th Jul 2017, 7:53 PM
Ufuk Gulum
Ufuk Gulum - avatar
+ 1
I think you got it right?? If you have another question just ask😊👍
5th Jul 2017, 7:54 PM
Ledio Deda
Ledio Deda - avatar
0
Missing Quote in line 11, and cin should go before cout. The variable needs to be defined before its used.
5th Jul 2017, 11:45 PM
Vote4Pedro
Vote4Pedro - avatar