+ 1

Why doesent my code work?

Hi all I've written this c++ code, but it doesn't work. All it does is printing "please enter a natural number." Here is the code: https://code.sololearn.com/cqxZ293A5j5O/?ref=app

1st May 2018, 2:52 PM
H2727
H2727 - avatar
4 ответов
+ 2
Dont worry is an error that happen very frequently i begginers: x=y assign y value to x x==y compare equality values between they
1st May 2018, 3:04 PM
KrOW
KrOW - avatar
+ 2
Thank you :)
1st May 2018, 3:04 PM
H2727
H2727 - avatar