about operator "--" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

about operator "--"

I seem really don't understand why this program is not able to output. Hope that I can get your help,thanks a lot. ---from a Chinese starter https://code.sololearn.com/cUWOg8BQb1r0/?ref=app

9th May 2018, 4:54 PM
HZCK_Mi Sa Pon
HZCK_Mi Sa Pon - avatar
2 Answers
+ 3
use "<<" instead of ">>" in cout statement and also <<"\n" is proper instead of \n
9th May 2018, 8:44 PM
Gunagya Chordia
Gunagya Chordia - avatar
+ 1
it runs well now,thanks all of you ☺️
10th May 2018, 12:24 AM
HZCK_Mi Sa Pon
HZCK_Mi Sa Pon - avatar