0
what can i do to fix the lvalue in the code?
2 Answers
+ 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.
+ 4
Ad here
if(n + 2 = 4){
one '='
if(n + 2 == 4){
And you will get an output