Hi.
I'm a student and I need write a programe bank application in java .
I must write a program that the customer could withdraw and deposit from his account.I need a few class?
my professor said me that it's very simple but it's dificullte for me.
you can help me for write it program.
clapton
0
Newbie Poster
Recommended Answers
Jump to Postyou can help me for write it program.
No.
We can help you understand what the errors are in the program that you write.
Jump to Postwhat do you mean: isn't correct.
replace
balance = -amount;
balance -= amount;the same with
balance =+ amount
should be
balance += amountif you want lesser lines of code: you don't need all those amount variables, you can just put
balance += clapton.nextFloat();
All 5 Replies
Philippe.Lahaie
42
Posting Whiz in Training
clapton
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
clapton
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.