May 28, 2007

JAVA program to add two integers

class adddemo
{
public static void main(String[] args)
{
int a,b,c;
a=10;
b=20;
c=a+b;
System.out.println(c);
}
}

No comments:

Post a Comment