Question: i want java source files and outputs for each question and codes in detailed manner 15.4 (Create a simple calculator) Write a program to perform
"15.4 (Create a simple calculator) Write a program to perform addition, subtraction, multiplication, and division, as shown in Figure 15.27a. Ficuat 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. 15. 14 (Geometry: inside a polygon?) Write a program that draws a fixed polygon with points at (30,10),(60,30),(50,70),(35,35), and (10,50). Whenever the mouse is moved, display a message indicating whether the mouse point is inside the polygon at the mouse point or outside of it, as shown in Figure 15.29c. To detect whether a point is inside a polygon, use the conta ins method defined in the Node class. Ficuat 15.29 Detect whether a point is inside a circle, a rectangle, or a polygon. *16.1 (Use radio hutrans) Write a GUl program as shown in Figure 16.36a. You can use buttons to move the message to the left and right and use the radio buttons to change the color for the message displayed. (a) Ficukt 16.36 (a) The butions move the message, and the madio buttons change the color for the mexsage. (b) The program displays a circle, square, and ellipe when you select a shape type
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
