O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
import math a = float(input("Enter base: ")) b = float(input("Enter height: ")) x = float(input("Enter angle: ")) c = math.sqrt(a ** 2 + b ** 2) print("Hypotenuse =", c)Enter base: 10.5 Enter height: 5.5 Enter angle: 60 Hypotenuse = 11.853269591129697
▶ Run Code
🖥 Output: