Java Program - DIV Of Two Number


class div
{
public static void main(String args[])
{
int a = 114;
int b = 2;
int c = a / b;

System.out.println("add of two numbers is = "+c);

}
}


Output-

"add of two numbers is = 57"

No comments:

Post a Comment