Menu

(Solved) : Instructions Write C Program Compute Area Volume Perimeter Various Shapes Description Writ Q37212138 . . .

Instructions: Write a C Program to compute the area, volume, and perimeter of the various shapes. Description: Write a prograApri 16 2019 Class: EET 3150 Date Name GEOMETRY QUICK GUIDE 5: 3D SHAPE FORMULAS CUBOID (RECTANGULAR PRISM) Volume exwxh Surf

Instructions: Write a C Program to compute the area, volume, and perimeter of the various shapes. Description: Write a program that allows the user to compute either the area, volume or the perimeter of the various shapes in the images below. You must accommodate each shape Rules: You must use an array typedef struct (only one struct) to store the data entered 1. by the user and the results you compute. Example struct body bodies(n); Hint: the struct variable will only be declared once. 2. You must use a function to compute the results. 3. You must use a function to get all the inputs required. 4. A single character will represent each of the shapes. T – Regular Tetrahedron C Cube P Pyramids c Cuboid S -Square Pyramid p prisms ir三RightCylinder IR-Right Circular Cone-Ciale-cane t = Triangular Prism | s = Sphere 5. Make sure you realize each shape may not do all the function. Some shapes cannot do area but some can. 6. Function to perform base upon each shape. You must have a function for each shape. Code Functiorn Surface Area Volume 7. All number must be double and displayed with three decimals. 8. The user will enter the height, width, and any necessary data required to perform the calculation. 9. You must also store the number of edges per shape. Also, display the calculated results and the original entries. Apri 16 2019 Class: EET 3150 Date Name GEOMETRY QUICK GUIDE 5: 3D SHAPE FORMULAS CUBOID (RECTANGULAR PRISM) Volume exwxh Surface area-28h +2ew + 2wh where e length, w width, h a height CUBE SHAP All 3d shapes can be described in terms of Volume their faces, vertices and edges. s Surface area 6s2 where s is the length of one side Face- a flat or curved surface Edge-line where 2 faces meet .Vertex- point where 3 or more edges meet face Volume of a general pyramid – /s Ah Volume b’/6v2 where Abase areo and h height Volume-s’h Surface area s+2sh Surface area v3b2 NGULAR PRISM volume. A e or % bhe Surface area bh+ 2s Volume of any prism Ah Surface area of a closed prism-2A+ (h x p) where A base oreo, h heigh, p base perimete eb RIGHT CYLINDER Volume nrh Surface area 2nr (r+h)Surface area nr r+s Volume- /s nr Surface area 4nr Volume 73 nr h 跟 Free Math Sheets, Math Games and Math Hdlp ATH-SALAMANDERSCOM Show transcribed image text Instructions: Write a C Program to compute the area, volume, and perimeter of the various shapes. Description: Write a program that allows the user to compute either the area, volume or the perimeter of the various shapes in the images below. You must accommodate each shape Rules: You must use an array typedef struct (only one struct) to store the data entered 1. by the user and the results you compute. Example struct body bodies(n); Hint: the struct variable will only be declared once. 2. You must use a function to compute the results. 3. You must use a function to get all the inputs required. 4. A single character will represent each of the shapes. T – Regular Tetrahedron C Cube P Pyramids c Cuboid S -Square Pyramid p prisms ir三RightCylinder IR-Right Circular Cone-Ciale-cane t = Triangular Prism | s = Sphere 5. Make sure you realize each shape may not do all the function. Some shapes cannot do area but some can. 6. Function to perform base upon each shape. You must have a function for each shape. Code Functiorn Surface Area Volume 7. All number must be double and displayed with three decimals. 8. The user will enter the height, width, and any necessary data required to perform the calculation. 9. You must also store the number of edges per shape. Also, display the calculated results and the original entries.
Apri 16 2019 Class: EET 3150 Date Name GEOMETRY QUICK GUIDE 5: 3D SHAPE FORMULAS CUBOID (RECTANGULAR PRISM) Volume exwxh Surface area-28h +2ew + 2wh where e length, w width, h a height CUBE SHAP All 3d shapes can be described in terms of Volume their faces, vertices and edges. s Surface area 6s2 where s is the length of one side Face- a flat or curved surface Edge-line where 2 faces meet .Vertex- point where 3 or more edges meet face Volume of a general pyramid – /s Ah Volume b’/6v2 where Abase areo and h height Volume-s’h Surface area s+2sh Surface area v3b2 NGULAR PRISM volume. A e or % bhe Surface area bh+ 2s Volume of any prism Ah Surface area of a closed prism-2A+ (h x p) where A base oreo, h heigh, p base perimete eb RIGHT CYLINDER Volume nrh Surface area 2nr (r+h)Surface area nr r+s Volume- /s nr Surface area 4nr Volume 73 nr h 跟 Free Math Sheets, Math Games and Math Hdlp ATH-SALAMANDERSCOM

Expert Answer


Answer to Instructions: Write a C Program to compute the area, volume, and perimeter of the various shapes. Description: Write a p…

OR