would you please help me?

Ads
 

would you please help me?

Write a class Amount which stores sums of money given in pounds and pence. Your con- structor should take two ints, for pounds and pence seperately. The class should also provide methods to add and withdraw money, again in pounds and pence, and a toString method that returns the balance in the format ?£X.XX?, ?£XX.XX?, ?£XXX.XX?, and so on, as appropriate. If a withdrawal would make the balance less than zero, your class should print an error message to the screen and ignore the withdrawal.

View Answers

Ads









Related Tutorials/Questions & Answers:
would you please help me?
Please can you help
Advertisements
Would you know answer means please send reply urgent
please help//
please help//
please help//
please help
help please?
help please?
help please?
help please?
help please?
Please help
java please please help
Please help
help please?
help please
please help
urgent...pleAse help me.....please!
When would you use the Builder Pattern?
When would you use the Builder Pattern?
ModuleNotFoundError: No module named 'mex'
please help me here
please help me here
need help please
how to output text from comboBox from first frame to textField on the second frame? please help me.. thank you in advance..
please help me
please help me.
please help me.
ModuleNotFoundError: No module named 'me2'
ModuleNotFoundError: No module named 'mep'

Ads