/* Program to calculate Remainder */
class Remainder
{
public static void main (String args[])
{
int i = 10;
int j = 3;
System.out.println("i is : " + i);
System.out.println("j is : " + j);
int k = i % j;
System.out.println("i % j is : " + k);
}
}
class Remainder
{
public static void main (String args[])
{
int i = 10;
int j = 3;
System.out.println("i is : " + i);
System.out.println("j is : " + j);
int k = i % j;
System.out.println("i % j is : " + k);
}
}
0 comments:
Post a Comment