+ 4

I have no idea:(

hi Im japanese! so i dont speak English well. I want to write code that it do Instructions in if statement if I enter push. https://code.sololearn.com/c4LGNx5OATq7/?ref=app https://code.sololearn.com/c4LGNx5OATq7/?ref=app

3rd Jun 2018, 3:25 AM
Shiki
4 odpowiedzi
+ 44
Shiki have a look in your code, i leave a comment, i hope i could help you and if you also want to learn a little bit english, you could use Duolingo 👍😉
3rd Jun 2018, 3:53 AM
tooselfish
tooselfish - avatar
+ 4
instead of if(a=='\n') change it to if(a!='\n').It will print abc. Thanks.
3rd Jun 2018, 3:46 AM
Random
Random - avatar
+ 3
oh thank you so much!! I didn't notice it. I think this question log time . thank you;)
3rd Jun 2018, 4:32 AM
Shiki
+ 2
thank you tooselfiah . I will try it. thank you for your kindness:)
3rd Jun 2018, 4:34 AM
Shiki