ATM Program in Java
1. You are to write a simple ATM like system that will be menu driven and allow you to do the following.
a. Deposit
b. Withdraw
c. Check Balance
d. Exit
2. You must update the balance with each transaction.
3. You must calculate interest based on the entering of dates. This can be accomplished using the Gregorian Calendar Class and Date Class. (Available in the JAVA API)- NOTE you only have to use dates for the current year so that they can be converted to Julian calendar dates to calculate the difference for the interest calculation.
4. Interest must be calculated based on the dates and with each transaction, even when checking the balance.
5. You must make sure that the system will not allow you to back date items.
6. Your balance should default to 100 dollars and the interest rate should default to 5%.
7. The system must return to the main menu when you are done with all transactions.
8. You must format your output in US Dollars and round to 2 decimal points for cents.
9. Your program should have the following functions (suggested)
a. Main
b. Constructor
c. Menu
d. Necessary Accessor Methods for members
e. Method(s) to get date entry
f. Method to calculate interest
10. You must get the system to work with more than one account
a. You will need to create an array, arraylist, or collection of accounts (NO MORE THAN 3 Objects in a collection)
b. You will need to loop through these accounts to determine which account the user will work with.
i. Such as; account 0, 1 or 2
ii. Or use a field as an account number and loop through looking for that specific account number
11. You must have the project write out the results to a file.
12. You must have the program start up and read the results in from the file.
13. Ultimately it should work similarly but better than the example I showed in class.
~~~~~
Calc Interest Code for ASG2 - figure out where it goes and when to call it
Posted on: Tuesday, April 18, 2017 7:42:51 PM CDT
int datediff = seconddate - firstdate;
rate = .10/365;
double ratetime = [login to view URL](1+rate,datediff);
balance = balance * ratetime;
firstdate = seconddate;
~~~~~
Get Date function - Figure out where to put it and when to call it
Posted on: Tuesday, April 18, 2017 7:49:37 PM CDT
[login to view URL]("Enter todays date(mm/dd/yyyy): ");
String inputText = [login to view URL]( );
SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
ParsePosition pos = new ParsePosition(0);
//Date date= new Date();
Date date = [login to view URL](inputText, pos);
[login to view URL](date);
firstdate = [login to view URL](Calendar.DAY_OF_YEAR);
dateflag = true;
Hello
My name is Ahmed, i'm a top rated freelancer.
i worked over 300 projects and over 500 hours doing java projects.
plus i passed freelancer java v3 exam with score 3.75
plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience.
small overview of feedback on my profile
"you want to get your projects completed with quality? Hire Ahmed. Highly recommended."
"Thoroughly satisfied with Ahmed, and would recommend him to anyone looking for an excellent java developer!"
"Highly recommended. Very smart and well experience"
looking forward to work with you
Regards
$50 USD in 2 days
4.9 (402 reviews)
6.6
6.6
21 freelancers are bidding on average $98 USD for this job
Hello, I am expert in java/c/c++/python/C# and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first check your work then release the payments.
Pm me for further details. Thank You!
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve.
Here is the reason. Why you should pick me?
a) I am a very expert and have the same kind of experience of 5 years.
b) I work very hard (16+ hours a day and 7 days a week) and also very fast so... it will be done very soon than most of the other providers
c) And most important part is my policy:
"I will give you (to my client) life time support (as long as you keep relation with me). And fix any bugs/problem without any cost. So, don't ever worry about me”
Please sir, leave a reply ASAP, as I am waiting for your kind reply
Hi there.. I have read your project details completely and willing to do it for you...
Check my recent reviews for our quality work on on time delivery
Please inbox and we can discuss about project...
Hi , hope you are doing well
i am software engineer with 5 years experience in software development using Java
I can help you to complete this project, also i can provide demo for your requirements
hope to contact me to discuss more about your project
Thanks
Yes,
We will do that work, let's clarify the requirement in details also if you want us to share our skill and previous work let us know.. hope to hear you soon..
Thanks & Regards
Nikita
6.8 years of professional development experience in software/web applications development (mainly Java/J2EE) which includes Analysis, Design, Coding, Implementation, Integration and Testing of client specific applications.
HI,
I am expert in java,I am create this application without any error.
I am having some question regarding the application, if we can discuss , i can show you demo.