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.
Related Tutorials/Questions & Answers: