@@ -0,0 +1,672 @@
+/*%0A%09This program illustrates the differences between int and double.%0A%09%0A%09Call this file Example3.java.%0A*/%0Aclass Example3 %7B%0A%09public static void main(String args%5B%5D) %7B%0A%09%09int var;%09// this declares an int variable%0A%09%09double x;%09// this declares a floating-point vaiable%0A%09%09%0A%09%09var = 10;%09// assign var the value 10%0A%09%09%0A%09%09x = 10.0;%09// assign x the value 10.0%0A%09%09%0A%09%09System.out.println(%22Original value of var: %22 + var);%0A%09%09System.out.println(%22Original value of x: %22 + x);%0A%09%09%0A%09%09System.out.println();%09// print a blank line%0A%09%09%0A%09%09// now, divide both by 4%0A%09%09var = var / 4;%0A%09%09x = x / 4;%0A%09%09%0A%09%09System.out.println(%22var after division: %22 + var);%0A%09%09System.out.println(%22x after division: %22 + x);%0A%09%7D%0A%7D%0A

Create Example3.java