import java.io.*; //java girdi cikti sinifini cagir
import javax.swing.*;

class BPIH2E3A
 {
      public static void main(String args[])
      {
          double number1,number2;
          double sum,substract,multiply,divide;
          number1=Double.parseDouble( JOptionPane.showInputDialog("Enter first number: "));
          number2=Double.parseDouble( JOptionPane.showInputDialog("Enter second number: "));
    
          sum = number1+number2;
          substract = number1-number2;
          multiply = number1*number2;
          divide=number1/number2;
          String s0="number1="+number1+" number2="+number2+"\n";
          String s1="number1 + number2 ="+sum+"\n";
          String s2="number1 - number2 ="+substract+"\n";
          String s3="number1 * number2 ="+multiply+"\n";
          String s4="number1 / number2 ="+divide+"\n";
          String s=s0+s1+s2+s3+s4;
          String sg="four aritmetik operator real numbers";
          JOptionPane.showMessageDialog(null,s,sg,JOptionPane.PLAIN_MESSAGE);
       }
 }
