Java Program - SUB Of Two Number


class sub
{
public static void main(String args[])
{
int a = 114;
int b = 110;
int c = a - b;

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

}
}



Output-

"add of two numbers is = 4"

No comments:

Post a Comment