Add Two Number

Write a java program to add two numbers


class Add {
public static void main(String[] args) {
int a=5;
             int b=10;
             int c=a+b;
System.out.println("Sum of "+a+" and "+b+" is :"+c);
}

}

Comments

Popular posts from this blog

program to calculate product of each column in matrix