0

what can i do to fix the lvalue in the code?

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

24th Dec 2021, 3:00 PM
daniel akpan
daniel akpan - avatar
2 odpowiedzi
+ 4
There would be == instead of = Single equal is used for assignment Double equal is used for comparison Btw what you are trying to do.
24th Dec 2021, 3:14 PM
A͢J
A͢J - avatar
+ 4
Ad here if(n + 2 = 4){ one '=' if(n + 2 == 4){ And you will get an output
24th Dec 2021, 3:12 PM
Coding Cat
Coding Cat - avatar