Edit: I had used $$ instead of && as an AND operator. The person below pointed that out to me. Removing the OG question because I had posted my code in it.
1 Answer
Haven't seen the $$
operator before. Maybe you meant &&
, which is logical AND.
-
Oh crap. I am idiot. Thanks a lot. I used & for the third if condition but used $ for the first two. Thats why I was only getting 2 errors. How come I didn't see that? Btw what is the $ operator used for? I think I have used it before. Feb 20, 2017 at 15:30
-
-
Oh ok. I am really screwing up. How do I write the power? Thanks a lot. Feb 20, 2017 at 15:35
-
There is no power operator. There is a power function for floating point,
pow
inmath.h
.– BlauelfFeb 20, 2017 at 15:48