Rahul Sagar Raj
Home
C Program
Java Program
C# Program
Windows Software
Mobile Apps
Contact Us
Addition Program In Java
class Addition
{
public static void main(String args[])
{
int a=5,b=10,sum;
sum=a+b;
System.out.println("Sum="+sum);
}
}
Output:-
Sum=15
Previous
Next
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment