What is the pseudocode of a square with side X, A = X^ 2; circle with radius X, A = 3.14 * X 2; equilateral triangle with side X, A = Sqrt (3)/4 * X^2

1 answer

There are many ways to approach this. The main difference is how you distinguish between the shapes. You can use a menu to give the choice of shapes, or you can prompt an input code to represent the shapes (square, radius or triangle.

After that, depending on the choice of shapes, you can calculate and output the results accordingly.
Similar Questions
  1. 9.(05.04 LC) A circle is cut from a square piece of cloth, as shown: A square, one side labeled as 48 inches, has a circle
    1. answers icon 3 answers
  2. M07.C-G.2.2.1A circle is cut from a square piece of cloth, as shown: A square, one side labeled as 48 inches, has a circle
    1. answers icon 1 answer
    1. answers icon 1 answer
  3. A circle is cut from a square piece of cloth, as shown:A square, one side labeled as 36 inches, has a circle inside it. The
    1. answers icon 1 answer
more similar questions