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.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. math

    determine the area of triangle abc when side ab= square root of x, side bc= square root of x, and side ca= the square root of the square root of x. So how do I solve it. How do I add the square root of x + the square root of x + the …
  2. geometry

    Theres a circle with an equilateral triangle in the middle. The traingles edges all touch the circle. The radius of the circle is 8 meters. How do I find the area of the triangle?
  3. Algebra

    The perimeter of an equilateral triangle is 7 in. more than the perimeter of a square. The side of the triangle is 5 in. longer than the side of the square. Find the length of each side of the triangle. (Note: An equilateral triangle …
  4. Algebra

    A square and an equilateral triangle has the same perimeter. Each side of the triangle is 5 m less than twice the length of each side of the square. How long is each side of the square?
  5. geometry

    An Equilateral triangle (ABC) is inscribed inside a circle. The side lengths of the triangle are 8 cm. What is the radius of the circle?
  6. math

    An equilateral triangle is inscribed in a circle. The radius of the circle is 21 in. Determine the side length of the triangle to the nearest 10th of an inch
  7. Government senior college ikoyi

    An equilateral triangle of side 20cm is inscribed in a circle.calculate the distances of a side of the triangle from the centre of the circle.
  8. Math

    An equilateral triangle is inscribed in a circle. If the radius of the circle is 10 cm, calculate the length of a side of the triangle. Answer to nearest whole centimetre
  9. math

    each side of equilateral triangle is 5 cm shorter than the side of square. the sum of the perimeters of the two figures is 251 cm. how long is each side of the triangle?
  10. Physics

    An equilateral triangle initially has side length equal to 17 cm. Each vertex begins moving in a straight line towards the midpoint of the opposite side at a constant rate of 2.3 cm/s, continuously forming progressively smaller equilateral …

More Similar Questions