Menu



Java program for finding modulus


Modulus.java

public class Modulus
{
public static void main(String[] args)
{
System.out.println("Modulus of the no is:");
int m = 50;
double d = 32;
System.out.println("m mod 10 = " + m%10);
System.out.println("d mod 10 = " + d%10);
}
}










Connection failed: SQLSTATE[28000] [1045] Access denied for user 'studentdb'@'localhost' (using password: YES)

Subscribe