package edu.oakland.homework.hw01;
public class Example4{
	public static void main(String args[]){
		int iresult,irem; //create two integer varibale called iresult and irem
		double dresult, drem; //create two double varibale called dresult and drem
		iresult=10/3; //10 divide by 3 then pass the varibel into iresult 
		irem=10%3; //10 modulus 3 then pass the varibale into irem
		dresult=10.0/3.0; //10 divide by 3 then pass the varibel into dresult 
		drem=10.0%3.0;//10 modulus 3 then pass the varibale into drem
		System.out.println("Result and remainder of 10 / 3: "+iresult+" "+irem);//print out the result and remainder of iresult and irem
		System.out.println("Result and remainder of 10.0 / 3.0: "+dresult+" "+drem);//print out the result and remainder of dresult and drem
	}
}
@@ -28,16 +28,17 @@
 k.hw01;%0A
+%0A
 public c
@@ -50,17 +50,19 @@
 Example4
-%7B
+ %7B%0A
 %0A%09public
@@ -93,17 +93,19 @@
  args%5B%5D)
-%7B
+ %7B%0A
 %0A%09%09int i
@@ -111,16 +111,17 @@
 iresult,
+ 
 irem; //
@@ -262,12 +262,16 @@
 sult
-=10/
+ = 10 / 
 3; /
@@ -324,20 +324,23 @@
 sult
- 
 %0A%09%09irem
-=10%25
+ = 10 %25 
 3; /
@@ -399,14 +399,18 @@
 sult
-=
+ = 
 10.0
-/
+ / 
 3.0;
@@ -465,26 +465,30 @@
 sult
- 
 %0A%09%09drem
-=
+ = 
 10.0
-%25
+ %25 
 3.0;
+ 
 //10
@@ -590,27 +590,34 @@
 3: %22
-+
+ + 
 iresult
-+%22 %22+
+ + %22 %22 + 
 irem);
+ 
 //pr
@@ -732,27 +732,34 @@
 0: %22
-+
+ + 
 dresult
-+%22 %22+
+ + %22 %22 + 
 drem);
+ 
 //pr
@@ -815,8 +815,9 @@
 rem%0A%09%7D%0A%7D
+%0A

Update Example4 (Homework 1 #5)