Richland College One User Friendly Flowchart for Algorithm Build one user-friendly flowchart for an algorithm that reads an integral number x from the user, computes the areas of various shapes from the drawing bellow where AB, BD, FH, HJ, EG, AF, BH, DJ, LN, and CI are equal to x, BC, CD, HI, IJ, CM, MI, BL, DN, LM, and MN are half of x, and EF, GH, and JK are a quarter of x. and display one of the areas that the user selects. ASSIGNMENT 1
Build one user-friendly flowchart for an algorithm
that reads an integral number x from the user,
computes the areas of various shapes from the
drawing bellow where AB, BD, FH, HJ, EG, AF, BH, DJ,
LN, and CI are equal to x, BC, CD, HI, IJ, CM, MI, BL,
DN, LM, and MN are half of x, and EF, GH, and JK are
a quarter of x. and display one of the areas that the
user selects.
The algorithm should do all the following:
I.
Input a value from the user into variable x (only once)
II. Compute all the following areas (only depending on x)1:
1. The area of the triangle AFE
2. The area of the square ABHF
3. The area of the rectangle BCIH
4. The area of the parallelogram ABGE
5. The area of the circle with center M
III. Output a message with the list of options
IV. Input an option (a number between 1 and 5 representing the shape to display) from the user
V. Output the area for the selected option (if the user enters option 1 then output the area of the triangle
AFE, if the user enters option 2 then output the area of square ABHF, if the user enters option 3
then output the area of rectangle BCIH, if the user enters option 4 then output the area of
parallelogram ABGE, and if the user enters option 5 then output the area of the circle with center
M)
Create a Microsoft Word document called [YourName]-Assingment1.docx (replace [YourName] with your
name) that contains the flowchart (use Shapes or SmartArt to draw it) and add your comments (formulas you
used, decisions you made, explanations, etc.) in flowchart comment dotted boxes or at the beginning of the
document before the flowchart.
1
Search the web or your math textbook for the correct formulas for the requested shape areas (to use for
your solution). Explain all your decisions (including the formulas you used) in the flowchart comments.
Purchase answer to see full
attachment
Consider the following information, and answer the question below. China and England are international trade…
The CPA is involved in many aspects of accounting and business. Let's discuss some other…
For your initial post, share your earliest memory of a laser. Compare and contrast your…
2. The Ajax Co. just decided to save $1,500 a month for the next five…
How to make an insertion sort to sort an array of c strings using the…
Assume the following Keynesian income-expenditure two-sector model: AD = Cp + Ip Cp = Co…