Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please I just need to organize it as it requaired below You can find the links a

ID: 3674213 • Letter: P

Question

Please I just need to organize it as it requaired below

You can find the links and all the requaired files down here

ex 11 http://goo.gl/9lzGLV

ex 12 http://goo.gl/qzh0Sd

ex 13 http://goo.gl/o6kiXl

Chapter 8: Exercises #11, #12, and #13, page 568 30 points
You are to incorporate all requirements of the three exercises into the basic class definition provided in the Exercise #11 description. In addition, you must check the values of deposit, withdrawal, and transfer amounts to ensure they are greater than 0. For two of the three methods, deposit and withdraw, the methods are to return a boolean value to indicate if the transaction was completed. For method transfer, the method is to RETurn the allowed amount transferred, refer to Exercise #13 for details for a partial transfer. In addition to the specified class methods, provide a method name() that returns a String reference to the object’s account name.
To start this project, create an Eclipse project and copy the two supplied source code files, Project9_BankAccount.java and BankAccount.java into the project’s src folder. File BankAccount.java has the class definition shown in the text as your starting point; note that methods deposit and withdraw are incomplete! You must define all required methods in this file. You should not modify the Project9_BankAccount.java file as it provides a means to test your code. I will utilize this same test program to verify the functionality of the BankAccount class source code file you submit. Your code must work as shown with my “test” program! A sample Console output from this program is shown below. Code method toString() to produce the output shown for the class objects in the following Sample Console Output.

You can see the output simple from here

https://www.dropbox.com/s/skdz5bru5o7v76r/CS%20210-Project%20%239.pdf?dl=0

BankAccount.java file

https://www.dropbox.com/s/2c226pmdjcar3fx/BankAccount.java.txt?dl=0

Project9_BankAccount.java

https://www.dropbox.com/s/7dblciez2mwsehr/Project9_BankAccount.java.txt?dl=0

Explanation / Answer

public class account { private double balance; String name; private long accounttNum; //---------------------------------------------- //Constructor -- initializes balance, ownername, and account number public account(double initialBal, String ownername,long accountnumber) { balance = initBal; name = owner; acctNum = number; } // This is to check if balance is sufficient for withdrawal. If so, decrement balance by amount; if not, print the following message. //---------------------------------------------- public void withdraw(double amount) { if (balance >= amount) balance -= amount; else System.out.println("Insufficient funds"); } // This function is to add deposit amount to balance. public void deposit(double amount) { balance += amount; } // This function is to return balance. public double getBalance() { return balance; } // This function returns a string containing the name, account number, and balance. public String toString() { return "Name:" + name + " Account Number: " + acctNum + " Balance: " + balance; } } Class Test { public static void main(String args[]) { account e1=new account(200,”ank”,11000) account e2=new account(300,”paul”,12000) e1.withdraw(200); e2.withdraw(300); e1.deposit(500); e2.deposit(600); e1.getbalance(); e2.getbalance(); } }