Archives from S:\ Drive

Good to keep around methinks
This commit is contained in:
Amrit Panesar committed 2015-04-01 21:23:15 -07:00
1 parent eadaf70b9e
commit 6dd63cc439
606 files changed
+50212

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
public class DbL3c
// Demonstrates modulus and printing
{
public static void main(String args[])
{
double a = 99, b = 8, result;
int c = (long) 7777777777777;
result = a % b;
System.out.println("Divide " + a + " by " + b);
System.out.println("remainder is " + result);
System.out.print("c is a very large number:");
System.out.println(c);
}
}