Q. Write a program to calculate the area of an equilateral triangle.
Answer =
side = int (input("Enter side :- ")) area = ( 3**0.5 / 2 ) * side * side print("Area = ", area)
Answer =
side = int (input("Enter side :- ")) area = ( 3**0.5 / 2 ) * side * side print("Area = ", area)
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )