Answer to Question #284962 in Algorithms for She

Question #284962

Design an algorithm to solve the problem using pseudocode:



(Area and perimeter of an equilateral triangle) Write a program that displays the area and perimeter of an equilateral triangle that has its three sides as 9.2, using the following formula:


area = 1.732 x (side1)2/4


perimeter = 3 x side1

1
Expert's answer
2022-01-06T02:00:42-0500
Start
  Declare real side1=9.2
  Declare real area 
  Declare real perimeter 
  Set area = 1.732 * (side1)*2/4
  Set perimeter = 3 * side1
  Display "Area: ",area 
  Display "Perimeter: ",perimeter
Stop

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS