It seems like I should be able to do this, but I can't seem to figure it out. Suppose I want to compute a new variable based on 2 existing variables, something like this:

If A=1 and B>9 then C=2

If A=1 and (B<10 and B>5) then C=1

Else C=0

Can someone tell me how to do this in Jamovi? Thanks!