Need help with a Sale Class
I need to write a code for a Sale class. It must include a description of the item, the number of the item being sold, the cost of the item, cash or credit paid, (as boolean variable), a 10% discount for cash, 10% stored as a final variable.
Ive been trying to figure this out as my quest to learn java, so if someone copuld point me in the write direction, or show me some code or anything. Thanks for any help!
Re: Need help with a Sale Class
OK, so we know in general what the assignment is.
Originally Posted by mrjerrycollins
And you've posted a very general question, but no specific question with information as to what you may have tried and where exactly you might be stuck. So rather than have one of us re-write an introduction to Java tutorial, let me give you a link to one of the best: Trail: Learning the Java Language
...Ive been trying to figure this out as my quest to learn java, so if someone copuld point me in the write direction, or show me some code or anything. Thanks for any help!
If later you need more specific help, please feel free to ask, but also, please show your code and ask as specific a question as possible. Best of luck!
Oh, and welcome to our forum!