this is a sample program to compute two numbers and get the sum.
i hope you learn and enjoy....
import java.io.*;
import java.util.Scanner;
public class Computation
{
public static void main(String args[])
{
Scanner input=new Scanner(System.in);
int num1,num2,sum=0;
System.out.print("Enter first number:");
num1=input.nextInt();
System.out.print("Enter second number:");
num2=input.nextInt();
sum=num1 + num2;
System.out.println("The sum is:" + sum);
}
}
Thursday, November 25, 2010
Tuesday, November 16, 2010
Introductionto Php
Check out this SlideShare Presentation:
Introductionto Php
View more presentations from Andrés Maneiro.
Introductionto Php
Check out this SlideShare Presentation:
Introductionto Php
View more presentations from Andrés Maneiro.
Sunday, November 7, 2010
Friday, November 5, 2010
Swing java
visit this website to advance learning in java using swing of GUI.
Java Swing Lesson
Java : Servlet Tutorials
Java Swing 1
Java Swing Lesson
Java : Servlet Tutorials
Java Swing 1
Labels:
java swing,
jaypee cezar jaypee,
Swing JAVA
Subscribe to:
Posts (Atom)