Wednesday 27 July 2011

A simple program for addition of two values:



Class addition
{
Public static void main (String args[])
   {
int a = 5, b=10;
int c= a+ b;

System.out.println(“the sum of two value is :” +c);

    }
}

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More