[Solved] How to Use the OR operator


Don’t compare int values with =, the assignment operator. Use == to compare, which results in the needed boolean. Change

if((counter = 0) ||

to

if((counter == 0) || // And the others after it also.

solved How to Use the OR operator