//Eric Bauer //Homework #4 3.08 import javax.swing.*; import java.awt.Graphics; public class MathStuff extends JApplet { double sum, average,product, small, large; public void init() { String firstNum, secondNum, thirdNum; double num1, num2, num3; firstNum=JOptionPane.showInputDialog("Enter first number here:"); secondNum=JOptionPane.showInputDialog("Enter second number here:"); thirdNum=JOptionPane.showInputDialog("Enter third number here:"); num1=Double.parseDouble(firstNum); num2=Double.parseDouble(secondNum); num3=Double.parseDouble(thirdNum); sum= num1+num2+num3; average=sum/3; if ((num1>num2) && (num1>num3)){ large=num1; if (num2num3){ large=num2; if (num3