The code below uses Pythagorus Theroem to calculate what the hypotenuse of a right angled triangle should be. Update the code to show the following:
If the calculation is less than the entered hypotenuse, then the triangle is Obtuse
If the calculation is more than the entered hypotenuse, then the triangle is Acute
If they are the same, then the triangle is a right angled triangle
Logical Operators Challenge 2
The program below has begun to calculate what year group the user should be in. Complete the code to include all year groups up to year 13, and a final output if they are older than 18.
In Python, we have used IF, ELIF as this is the only selective statement available. To make this more efficient in pseudocode, what selective statement would be preferable?
Download Scribbl.it Notes
The Logical Operators in Programming Scribbl.it Notes provide a structured way for you to revise topic areas in a visual way. You don’t have to be an artist as it’s all been drawn out for you (or you can use this as inspiration to create your own!). Print the notes, then colour in areas of importance, add doodles and colour, then add more detail to the notes page being as creative as possible.
There are known benefits to using Scribbl.it Notes (whether structured like these, or independently created):