Skip to main content

Posts

Showing posts from June 8, 2018

Basic Bank Application or Software in JAVA

To Create Basic logic of Bank Software or Application .Here in this program admin create bank customers.Password and user name of admin is 123 and fill the details and show account details .The account holder can  simple deposit and withdrawal and transfer money to another existing account. CODING: import java.util.Scanner; public class BankMain1{  public static void main(String[] args){ cust[] c=new cust[1000]; admin a=new admin(); int ch,l=0,flag=0; String temp; Scanner s=new Scanner(System.in); do{ System.out.println("\n1.Admin\n2.Custome\n0.Exit\nchoice "); ch=s.nextInt(); switch(ch){ case 0:break; case 1: System.out.print("\tUser Name "); if(a.checkAdName().equals(s.next())){ System.out.print("\tPassword "); if(a.checkAdPwd().equals( s.next() ) ){ do{     System.out.print("\n1.ADD\n2.Details\n0.Exit\nChoice:"); ch=s.nextInt(); switch(ch){