package addressbook;
public class AddressBook
// This class defines an address book, consisting of 10 parts
{
// Class constant
final String PUNCT = ", "; // Punctuation for formatting
// Instance variable
String...
Code VS Codes
The best way to code programs.
Powered by Blogger.
.
Friday, 27 March 2015
Program to do circle operations in JAVA
import java.text.*;
public class Circle
{
public static void main (String[] args)
{
// create decimal format
DecimalFormat DF = new DecimalFormat ("0.00000");
...
Program to generate MARKSHEET in JAVA
import java.util.Scanner;
class Marksheet
{
public static void main(String[] arg)
{
Scanner sc=new Scanner(System.in);
System.out.println("\nWel come to marks sheet");
System.out.print("Enter the name of Student \t:\t");
String...
Metric conversion program in JAVA
import java.util.Scanner;
class conversion
{
static float dollartorupees()
{ Scanner sc=new Scanner(System.in);
System.out.println("enter the dollar");
float...
Calculator program in JAVA using if else statements
import java.util.Scanner;
public class calculator
{
int c;
public void add()
{
Scanner sc =new Scanner(System.in);
System.out.println("enter first no.");
int a=sc.nextInt();
System.out.println("enter second no. ");
int...
Small shopping project in JAVA
import java.util.Scanner;
class Product
{
Scanner sc=new Scanner(System.in);
int ProductID;
String ProductName, ProductType;
float ProductPrice;
Product()
{
System.out.print("Enter the Product ID = ");
ProductID=sc.nextInt();
System.out.print("Enter...
Matrix addition program in JAVA
import java.util.Scanner;
class addm
{
public static void main(String[] arg)
{
int i,j;
int a[][]=new int[3][3];
Scanner sc=new Scanner(System.in);
for(i=0;i<3;i++)
{
...
Subscribe to:
Posts (Atom)
Programs
-
▼
2015
(23)
-
▼
March
(19)
- Address Book program in JAVA
- Program to do circle operations in JAVA
- Program to generate MARKSHEET in JAVA
- Metric conversion program in JAVA
- Calculator program in JAVA using if else statements
- Small shopping project in JAVA
- Matrix addition program in JAVA
- Program to find diagonal elements in matrix
- Download program of LOGIC GATE IN JAVA
- Program to find pallindrome in JAVA
- Program to find electricity bill in JAVA using if ...
- Program to find area of circle and cylinder in JAVA
- Swapping two variables with using third variable i...
- Program to find factorial in JAVA
- Program to set and print employee details
- Prime number program in JAVA
- Fibonacci program in JAVA
- Finding five armstrong numbers in JAVA
- "Hello World" program in JAVA
-
▼
March
(19)
..
...
Premium Sponsor
Find us on Google Plus
Labels
Popular Posts
-
import java.util.Scanner; class Marksheet { public static void main(String[] arg) { Scanner sc=new Scanner(System.in); System.out.pri...
-
Steps to develop a hello world program in java- class Hello { //Everything should be written inside this block public static voi...
-
Program to find fibonacci series in JAVA class fib { public static void main(String[] arg) { int i,a=0,b=0,c=1; int n=8; ...
-
import java.util.Scanner; class conversion { static float dollartorupees() { Scanner sc=new Scanner(System.in); System.out...
-
Validation of date in c++ involves three steps - 1) Declare the function inside the body of a class. 2) Give definition to it outside t...
-
import java.util.Scanner; class Product { Scanner sc=new Scanner(System.in); int ProductID; String ProductName, ProductType; float Pr...
-
package addressbook; public class AddressBook // This class defines an address book, consisting of 10 parts { // Class constant ...
-
import java.text.*; public class Circle { public static void main (String[] args) { // create decimal format Decim...
-
import java.util.Scanner; class diagonalm { public static void main(String[] arg) { int i,j; int a[][]=new int[3][3]; Scanner ...
-
Changing background or text of console in c++ is not a very major task. One can do it easily by doing some really good efforts . This tutor...