
/**
 * This represents ONE user's bank account.
 * It has their first name, last name, balances and loan they have to pay.
 * 
 * For each method, you should ensure it logically makes sense!
 *
 * @author (your name)
 * @version (a version number or a date)
 */
public class Account{
    private String firstName = null;
    private String lastName = null;
    public double balance = 0;
    public double loan = 0;
    

    /**
     * Constructor for objects of class account.
     * This is what you need to be able to define one account object.
     */
    public Account(String fname, String lname, double startBalance, double startLoan)
    {
        // initialise instance variables
        this.firstName = fname;
        this.lastName = lname;
        this.balance = startBalance;
        this.loan = startLoan;
    }

    /**
     * This is called if we want to deposit $$$ into the account
     */
    public void deposit(double amount){
        //YOUR CODE HERE
    }
    
    /**
     * This is called if we want to withdraw $$$ from the account
     */
    public void withdraw(double amount){
        //YOUR CODE HERE
    }
    
    /**
     * This is called if we want to make a payment to the loan
     */
    public void payLoan(double amount){
        //YOUR CODE HERE
    }
    
    /**
     * This is called if we want to see how much debt this account has
     */
    public double getDebt(){
        //YOUR CODE HERE
        return 0;
    }
    
    /**
     * This is called if we want to see the balance of this account
     */
    public double getBalance(){
        //YOUR CODE HERE
        return 0;
    }
    
}
