Program :
Using Eclipse, write a Java program that first asks the user to enter two integers seperately using JOptionPane. Print the sum, difference, product, quocient, and modulus to the console and to window (dialog).
Then ask the user to enter two real numbers from the console and then print the sum, difference, product, and quocient of the two real numbers to the console and to a window.
Include a heading and comments and supply meaningful prompts; format the output for the console - using printf.