I'm doing a homework assignment where I have to look at the code created by my teacher and write what the answer would be using the information given.

So x starts at 7

y starts at 12

Using the info below.

First she declared her variables and her statement looks like this:

If x <= 7 Or y > 11 Then

If x > 2 Or y > 9 Then

y = 4 * y + x

Else

y = x - 8

If x + y > 14 Then

x = x - 7

End If

End If

So looking at this the first If...Then statement is true then I go to the second one which is 'If x > 2 Or y > 9 Then'

and if that one is true as well I plug in my numbers to solve for 'y'. But do I use the same equation to solve for x as well?

Thanks for all help given