WAP to divide 20&5
import java.util.*;
class divide
{
public static void main()
{
int a,b,c;
a=20;
b=5;
c=a/b;
System.out.println(c);
}
}
Output:- 4
Operator Used:- "/"
import java.util.*;
class divide
{
public static void main()
{
int a,b,c;
a=20;
b=5;
c=a/b;
System.out.println(c);
}
}
Output:- 4
Operator Used:- "/"
Comments
Post a Comment