Asked by Marcelino
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
Answers
Answered by
MathMate
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.
After that, depending on the choice of shapes, you can calculate and output the results accordingly.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.