ip.docx

13
IP PROJECT REPORT ON E BANKING SYSTEM IN JAVA FOR CLASS XIITH BY: UJJWAL PERSWAL XIITH CLASS ROLL. NO. 5891713 DAYAWATI MODI ACADEMY, MEERUT 1

Upload: gsrawat123

Post on 05-Nov-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

IPPROJECT REPORT ONE BANKING SYSTEMIN JAVAFOR CLASS XIITH

BY:UJJWAL PERSWALXIITH CLASSROLL. NO. 5891713

DAYAWATI MODI ACADEMY, MEERUT

ACKNOWLEDGEMENTWith regard to my Project on E BANKING System, I would like to thank each and every one who offered help, guideline and support whenever required. First and foremost I would like to express MY gratitude to Mr. K.D KAUSHIK SIR (Project Guide) and other faculty at School for their support and guidance in the Project work.

OUTPUT

CODING

/*****************************************************Class Main

******************************************************/

import java.io.*;import packs.*;

class Main{ public static void main(String args[]) {DataInputStream ds=new DataInputStream(System.in);String choice="";

do{do{System.out.println("\n\n********************************");System.out.println("********************************");System.out.println("\nWelcome to XYZ Bank");DtUtil.displayToday();System.out.println("\n**************Menu**************\n");System.out.println("\t1. Create a new account");System.out.println("\t2. Close your account");System.out.println("\t3. Deposit");System.out.println("\t4. Withdraw");System.out.println("\t5. Money Transfer");System.out.println("\t6. Balance enquiry");System.out.println("\t7. Change Your PIN");System.out.println("\t8. Exit");System.out.print("\nEnter an choice from above : ");try{choice=ds.readLine();}catch(IOException e){System.out.println("\n\n\tInput Error!");}catch(Exception e){System.out.println("\n\n\tUnknown Error occured.");System.out.println("\tError Details: "+e);}if(!choice.equals("1")&&!choice.equals("2")&&!choice.equals("3")&&!choice.equals("4")&&!choice.equals("5")&&!choice.equals("6")&&!choice.equals("7")&&!choice.equals("8"))System.out.println("\n\n\tInvalid Choice!");}while(!choice.equals("1")&&!choice.equals("2")&&!choice.equals("3")&&!choice.equals("4")&&!choice.equals("5")&&!choice.equals("6")&&!choice.equals("7")&&!choice.equals("8"));System.out.println("\n********************************\n");

switch(Integer.parseInt(choice)){case 1:Account.create();break;case 2:Account.close();break;case 3:Transaction.deposit();break;case 4:Transaction.withdraw();break;case 5:Transaction.transfer();break;case 6:new BalEnq();break;case 7:new ChangePIN();break;case 8:break;default:break;}}while(!choice.equals("8")); }}

/* * To change this template, choose Tools | Templates * and open the template in the editor. */package bank;

/** * * @author al */public class Bank {

/** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here }}1