Question: Instructions Write a program to implement and test the algorithm that you designed for Exercise 15 of Chapter 1. The instructions to Exercise 15 have

 Instructions Write a program to implement and test the algorithm that

Instructions Write a program to implement and test the algorithm that you designed for Exercise 15 of Chapter 1. The instructions to Exercise 15 have been posted below for your convenience: Exercise 15 Given the radius, in inches, and price of a pizza, design an algorithm to find the price of the pizza per square inch. You may assume that the value of n = 3.141593. In your program, declare a named constant PI to store this value. Below is an example of how the completed program should work: Enter the radius of the pizza: 20 Enter the price of the pizza: 22 The price per square inch is: 0.017507

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!