Thursday, September 19, 2013

Write A Java Program To Add Two Numbers

 

/******************************************************
Program       :  Write A Java Program To Add Two Numbers
*******************************************************/

/*-----------------<< Program  >>-------------------*/

import java.io.*;
import java.util.*;

class Add
{
public static void main(String args[])
{
int a,b,c;
Scanner in=new Scanner(System.in);
System.out.println("Enter 1st no : ");
a=in.nextInt();
System.out.println("Enter 2nd no : ");
b=in.nextInt();
c=a+b;
System.out.println("Addition : "+c);
}
}


/*-----------------<< Output  >>-------------------*/


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\JABIR>cd\

C:\>cd C:\Program Files\Java\jdk1.6.0_04\bin

C:\Program Files\Java\jdk1.6.0_04\bin>javac Add.java

C:\Program Files\Java\jdk1.6.0_04\bin>java Add
Enter 1st no : 5
Enter 2nd no : 7
Addition : 12

C:\Program Files\Java\jdk1.6.0_04\bin>
Best Regards,

Saturday, September 14, 2013

Write A Java Program To Display Hello World




/******************************************************
Program       :  Write A Java Program To Display Hello World
*******************************************************/

/*-----------------<< Program  >>-------------------*/

class Hello
 {
    public static void main(String args[])
            {
                        System.out.println("Hello World");
            }
 }

/*-----------------<< Output  >>-------------------*/

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\JABIR>cd\
C:\>cd C:\Program Files\Java\jdk1.6.0_04\bin
C:\Program Files\Java\jdk1.6.0_04\bin>javac Hello.java
C:\Program Files\Java\jdk1.6.0_04\bin>java Hello
Hello World
C:\Program Files\Java\jdk1.6.0_04\bin>



Best Regards,

Thursday, September 5, 2013

Earn Free Mobile Recharge




Delivered More Than Rs.1 Crore Of Free Mobile Recharges Already.
Rs.10 is the minimum free recharge amount that amulyam.in supports for all Indian mobile operators.

Five Simple Tips To Get Rs.10 Free Recharge Quickly:
1.      Login daily and get upto 25 paise credits for daily login
2.      Play Trivia Game and participate in Build Your Vocabulary to get Rs.1 every day
3.      Participate in Special Offers that gives free money credits instantly
4.      Play Contests and win up to Rs.10 free recharge
5.      Invite your friends to amulyam and when they join, get Rs.1 for each registration
Looking For More Than Rs.10 Free Recharge?
  • Buy flight tickets or books or electronics..etc through our merchant partners
  • Create Contests or Upload funny pics
  • Read BonusMails that you receive on your amulyam registered mail id
  • Redeem Coupons and get free recharge in addition to discount

So, Don’t Miss This Opportunity To Earn Mobile Recharges For All Networks
Please Click Here To Create Account



OR 
Go To :  http://www.amulyam.in/signup.do?id=31036e64-88fa-4899-acb4-d5b9ca0eb418

Tuesday, September 3, 2013

Object Oriented Programming With C++

Title           : Object Oriented   
                     Programming With 
                     C++
Edition       : 4th Edition
Author        : E Balagurusamy
Publisher    : Tata McGraw-Hill
Format       : PDF
Language   : English
Pages          : 656
Click here to Download this Zip file
             Password - JP