BlueJ Programs

Addition of two Variables


This Program adds two variables a & b and gives out the result.

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


No comments:

Post a Comment