O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
c = input ("Enter any Choice") if(c==1): s = input("enter any side of the square") a = s*s print"Area = ",a elif(c==2): l = input("enter length") b = input("enter breadth") a = l*b print"Area = ",a elif(c==3): x = input("enter first side of triangle") y = input("enter second side of triangle") z = input("enter third side of triangle") s = (x+y+z)/2 A = ((s-x)*(s-y)*(s-z))**0.5 print"Area=",A else: print "Wrong input"
▶ Run Code
🖥 Output: