Multiple If statements,
Multiple If statements,
I wanted to code an If statement that meet the cases below but sounds not to work with me.
if A>0 and B>0 then X=A+B
If A>0 and B<0 then X=A-B
If A<0 and B>0 then X=2*A
If A<0 and B<0 then X=3B-9
It works for the first condition but couldn’t know how to proceed (attached)
Thank you
Best
Jamal
|