Question
6. Builders Inc. wants a program that allows its salesclerks to enter the diameter of a circle and the price of railing material per foot.
6. Builders Inc. wants a program that allows its salesclerks to enter the diameter of a circle and the price of railing material per foot. The program should calculate and display the total price of the railing material. Use 3.1416 as the value of pi. First, create an IPO chart for this problem, and then desk-check the algorithm twice. For the first desk-check, use 35 feet as the diameter and $2 as the price per foot. For the second desk-check, use 15.5 and $3.50. After desk-checking the algorithm, list the input, processing, and output items in a chart similar to the one shown in Figure 3-25, and then enter the appropriate C++ declaration statements.
IPO chart information C++ instructions Input Latex price Mylar price Latex purchased Mular purchased sales tax rate (6%) Processing total latex cost total Mular cost subtotal sales tax Output total cost Figure 3-25Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started