Think about what you're doing here:
msg = JOptionPane.showInputDialog(null, "Enter num1");
num1 = Float.parseFloat(msg);
You're showing an input dialog, then assigning that String to a...
Type: Posts; User: KevinWorkman
Think about what you're doing here:
msg = JOptionPane.showInputDialog(null, "Enter num1");
num1 = Float.parseFloat(msg);
You're showing an input dialog, then assigning that String to a...