Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

a manufacturer wishes to determine the cost of producing the top for a cylindric

ID: 3632765 • Letter: A

Question

a manufacturer wishes to determine the cost of producing the top for a cylindrical container. The cost of each top will be cost dollars per square inch of the material needed to produce the top. The amount of material needed for each top is the area of the top , which is circular. Recall that the area of a circle is pi times the radius squared. Write a program to read in the radius (Radius) of a top, the cost per square inch of the top (cost), and the number of tops to be produced (Quant). Calculate the final cost of producing all the tops

Explanation / Answer

#include using namespace std; int main() { double radius = 0; double cost_per_sq_in = 0; double quantity = 0; double pi = 3.1459; coutradius; coutcost_per_sq_in; coutquantity; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote