Ok really basic:
You got your input values as String.
...
String first = Scan.next();
...
Second = JOptionPane.showInputDialog("Enter Another Number");
After this you convert only
second
into a numeric value, but don't use it!
double d = Double.parseDouble(Second);
Solution is to convert
first
and
Second
into numeric values like this:
double firstValue = Double.parseDouble(first);
double secondValue = Double.parseDouble(Second);
double result = firstValue * secondValue;
Now you can print it:
System.out.print( name + " "+ "(Aged" + " " + Age + ")" + "," + "your answer is " + result );