import javax.swing.JOptionPane;
public class Testing
{
public static void main (String[] args)
{

String inputBegin = JOptionPane.showInputDialog("Enter the first value:");
double firstInput =...