Java Program - Add Of Two Number


class add
{
public static void main(String args[])
{
int a = 114;
int b = 1445;
int c = a + b;

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

}
}


Output-

"add of two numbers is = 1559"

--------------------------------------------------------------------------------------------------------------------------

1 comment: