Subject: C++ Programming
Problem Statement: You are to create a program that will compute for the Area, Perimeter and Surface Area. You are going to use CALL FUNCTIONS in the Menu Selection as well as the figures that you are going to Select. You can use conditional statements and looping statements if any. Below are the details of the OUTPUT and the figures you are going to solve. Formulas: Perimeter Area Square Rectangle Triangle Trapezoid Circle Cube Cylinder Sphere P = 4a P=2(1 + b) A = b*h/2 A = (b1 + b2) h A = Tt2 S = 6a2 S = 212 + 2trh S = 42 Surface Area
Sample OUTPUT: Main Menu Find the Area of the Following: Calculate the following: A.) Area B.) Perimeter C] Surface Area DJ Cancel 1.] Triangle 2] Circle 3.1 Trapezoid 4.] Return to Main Select: Select: Area of Triangle Note: Perimeter: 1.] Square 2.] Rectangle Enter the following Base: Height: Surface Area: 1.] Cube 2.] Cylinder 3.] Sphere Value of Pi = 3.1416 Result: Area is
Problem Statement: You are to create a program that will compute for the Area, Perimeter and Surface Area. You are going
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Problem Statement: You are to create a program that will compute for the Area, Perimeter and Surface Area. You are going
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!