Question
Archie wants a program that calculates and displays a teams final score in a football game, given the numbers of the teams field goals, touchdowns,
Archie wants a program that calculates and displays a teams final score in a football game, given the numbers of the teams field goals, touchdowns, one-point conversions, two-point conversions, and safeties. First, create an IPO chart for this problem, and then desk-check the algorithm twice. For the first desk-check, use 3, 2, 2, 0, and 1 as the numbers of field goals, touchdowns, one-point conversions, two-point conversions, and safeties. For the second desk-check, use your own set of data. 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.
i need explanation like this with ipo chart
Dear, IPO Chart Input diameter Processing Processing Items: radius area Output total price price pi (3.1416 1. Enter the diameter of a circle and the price Algorithm 2. Calculate the radius by dividing the diameter by two. Then find the area by squaring the radius and multiplying by pi. Then multiply the price by the area to find the total price. 3. Display total price. Desk Checks: diameterprice radius area pi total price 962 115 31416 2423 7.75 188 692 3.1416 6 660.42 C++ instructions: IPO Chart Information C++ Instructions diamete price double diameter 0.0 double price 0.0 radius area pi double radius = 0.0; double area0.0; cons t pi 3.1416; Output double totalPrice 0.0Step 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