In this assignment an if/elif/else process will be explored.
- Define four variables
- Add the first two variables together and multiply the last two variables together.
- If the sum of the first two variables are greater than the product of the last two variables print ‘successful’.
- Else if variable 2 is equal to the sum of variable 1, 3 and 4 print ‘minor error’.
- Else print ‘this program gave a null result’.
- Print done to show the completion of the statements