/*WAP to Demonstrate the % operator*/
class Modulus {
public static void main(String args[]) {
int x = 42;
double y = 42.3;
System.out.println("x mod 10 = " + x % 10);
System.out.println("y mod 10 = " + y % 10);
}
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
No comments:
Post a Comment