FIGURE 15.29 Detect whether a point is inside a circle, a rectangle, or a polygon. 15.4 (Create a simple calculator) Write a program to perform addition, subtraction, multiplication, and division, as shown in Figure 15.27a. (a) (b) FicuRe 15.27 (a) Exercise 15.4 performs addition, subtraction, multiplication, and division on double numbers. (b) The user enters the investment amount, years, and interest rate to compute future value..