subject

Design a class that keeps track of purchases at Gold City Mall. A voucher is assigned to an individual coming to Gold City. When a voucher is first issued, the balance is set to some rupees. If the user does not specify the rupees initially, then the balance is set to 1000 Rs. Every time users buys an items, points are deducted from the balance. If the balance becomes negative or item price is more than the current balance, the purchase of items is not allowed. Implement the Voucher class such it supports the key functionalities stated above

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
For all machines-not just hammers- the user applies force force to the machine to the machine over a certain distance. a. input b. output c. duo d. none of the above
Answers: 1
question
Computers and Technology, 22.06.2019 10:30
Auniversity wants to install a client-server network. which feature do you think is important for them as they set up the network? sending email blocking multiple people to use the same file low security low set up cost limited access to files
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
Jason needs to learn a new web tool. he went through his books to understand more about it. now he wants hands-on experience with using that tool. what would him? jason can use websites where workspace is provided to test the results of your code.
Answers: 2
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
You know the right answer?
Design a class that keeps track of purchases at Gold City Mall. A voucher is assigned to an individu...
Questions
question
Mathematics, 13.02.2021 01:00
question
Health, 13.02.2021 01:00
question
Biology, 13.02.2021 01:00
question
Mathematics, 13.02.2021 01:00
question
Mathematics, 13.02.2021 01:00
question
Mathematics, 13.02.2021 01:00
Questions on the website: 13722363