Array, string, and method exercise:
.jpg) |
Book store project using an array |
Suppose you are a Bookseller. You have 3 items of books like java, C, and Python. You give Discount to your customer as .2% for teacher .3% for student .5% for wholesale.
Your program will ask your customer which book he needs. Then the program will ask who is he or she, teacher, student, or wholesaler.
Code:
Happy coding !!!
Post a Comment