2009年3月2日 星期一

Lab Java casting

Write a Java program as follows:

Let m=1, n=2;
Print m/n
Print m/ (double)n;
Print (double) m/n;

1 則留言: