I need a little logic help as well as some code help.
I'm writing a program that is suppose to be a simple ATM program. It will do deposits Withdrawals And a balance check.
I also have to have my program record the date of every deposit, and use that date when calculating 5% interest over a year for when the user checks their balance. The part im having problems with is the part where I need to store the deposit amount as well as the date that corresponds to that deposit. I'm supposed to use the GregorianCalender methods. Im just taking a shot in the dark but I think I would use an array for this. But im clueless as to how to implement it. Because I'm new to arrays.
Just to give u an idea. I have my Main class. A menu class, and a transaction class.