BlueJ Programs

Addition of Variables Taking Input from User

This Program Takes two variables a & b from the user and gives out the result of their addition.





class Sum // By Steve
{
public static void main(int a,int b)
{
System.out.println(a+b);
}
}



Then 
And here is the Result!



No comments:

Post a Comment