All Programs Examples
Home
Sample Page
Services
Advertise
Blog
About
Contact me
Menu
.
Home
About-us
Privacy Policy
Contact-us
Services
Friday, October 16, 2015
Java - Add the Two Number Program Example - Allprogramexample
Socialize Us
Tweet
Add the Two Number Program
class add1
{
public static void main(String args[])
{
System.out.println("Addtion of two numbers");
int a=10;
int b=15;
int c=a+b;
System.out.println("result is "+c);
}
}
Output -
25
0 comments:
Post a Comment
Newer Post
Older Post
Home
Popular Posts
Labels
C++ Program
Java Examples
Photoshop Tutorial
Powered by
Blogger
.
Copyright © 2014 All Programs Examples | All Rights Reserved.
Blogger Templates
Download
Blogger Templates
0 comments:
Post a Comment