I'm taking an introduction course to programming with C++ and the teacher gave us a HW assignment and I'm stuck with one of the questions I did the IPO chart but need to code the program can some one please explain it to me or help me in any way.
Builders Inc. needs a program that allows the company's salesclerk to enter both the diameter of a circle (in feet) and the price of railing material per foot. The diameter and the price may contain decimal places. The program should display both the circumference of the circle and the total price of the railing material. Use 3.141593 as the value of pi.
I have to create a code for this program and not sure how to write it can some one help me out.