Course Solutions Uncategorized (Solved) : Make Program Work Want Output Looks Like Sample Output Transaction Type Deposit Account Nu Q28149852 . . . .

(Solved) : Make Program Work Want Output Looks Like Sample Output Transaction Type Deposit Account Nu Q28149852 . . . .

 

How to make this program work?
I want the output looks like this

Sample Output:
Transaction Type: Deposit Account
Number: 9876
Amount to Deposit: $123.45
Old Balance: $300.50
New Balance: $423.95

input can be whatever.

import java.util.*;
import java.io.*;
// need to input files
public class BankAccount {
public static void main(String[] args) throws IOException {
Scanner keyboard=new Scanner(System.in);
PrintWriter pw = new PrintWriter(“bankoutput.txt”);
final int MAXSIZE = 50;

int []acctnum = new int[MAXSIZE];
int num_accts = 0, test = 0;
char select;
double []balance = new double[MAXSIZE];
num_accts=readAccts(acctnum,balance, MAXSIZE, pw);

do {
printAccts( acctnum, balance, num_accts, pw);
menu();
System.out.println(“Make a selection”);
select=keyboard.next().charAt(0);
switch(select) {
case ‘W’:
case ‘w’:
withdrawal( acctnum, balance, num_accts, keyboard, pw);
break;
case ‘D’:
case ‘d’:deposit(acctnum, balance, num_accts, pw);
break;
case ‘N’:
case ‘n’: newAcct(acctnum, balance,num_accts,
keyboard,

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Analytics Real World Use Big Data Financial Services Innovative Banking Financial Markets Q29334308 . . . .(Solved) : Analytics Real World Use Big Data Financial Services Innovative Banking Financial Markets Q29334308 . . . .

<p>Analytics: The real-world use of big data in financial services- How innovative banking and financial markets organizationsextract value from uncertain data</p><p>IBM Global Business Services (GBS) has conducted another globalresearch study