Project 13: Close Nums (within 2)

Project: Variables 'a' and 'b' have been initialized below.  Appropriately initialize the value of 'withinTwo'.  The value of 'withinTwo' should be true a and b are close (within two units of each other)

Example 1: a = 5, b = 4

a and b are 1 apart, so withinTwo = true

Example 2:  a = 5, b = 8   withinTwo = false

Example 3:  a = 3, b = 5  withinTwo = true

Example 4:  a = 9, b = 2   withinTwo= false

Note: If your code works for 10 test cases in a row, you can enter your e-mail address.