hi.

I'm trying to write a statement that says:

if ( a=1) and (b= 1)

then

store 1 in c .

Can someone help ?

I was looking in a tutorial and saw this but get errors:

if (a=1) && (b=1)
c=1;

That is what I had in my program and it gave me errors telling me that I needed a " ; " before the &&