Question: Programming Project 2 - Pyramid Model Note: When you turn in an assignment to be graded in this class, you are making the claim that

 Programming Project 2 - Pyramid Model Note: When you turn in

Programming Project 2 - Pyramid Model Note: When you turn in an assignment to be graded in this class, you are making the claim that you neither gave nor received assistance on the work you turned in (except, of course, assistance from the instructor or teaching assistants) In this project, you will calculate the price of building a model of a pyramid. You will ask the user to enter the length of one of the base sides and height of the pyramid. You will then use the following formulas to calculate the surface area of the pyramid: Surface Area of a regular square pyramid: SA B+ * 4bl, where B is the area of the Base of the square, b is the length of one of the base sides, and I is the slant length Area of the base of the pyramid: B b2, where b is the length of one of the base sides of the pyramid Slant length:lG. b)2 + h2, where b is the length of one of the base sides of the pyramid and h is the height of the pyramid Once you have the surface area of the pyramid, you will calculate the price of the sculpture, by multiplying the price of the material, which is $1.32 per square inch, times the surface area that you calculated for your model

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!