Post a New Question

Computers

posted by .

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

  • Computers -

    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.

Answer This Question

First Name
School Subject
Your Answer

Related Questions

More Related Questions

Post a New Question