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, 21.06.2019 21:40
Which is a benefit of getting information from a government website? a. the information will be easy to understand. ob. the information will be the most current. oc. the information can be trusted.
Answers: 1
question
Computers and Technology, 22.06.2019 06:30
Selective incapacitation is a strategy to reduce prison population
Answers: 3
question
Computers and Technology, 22.06.2019 10:00
Create a word problem that involves calculating the volume and surface area of a three-dimensional object. cube: surface area 6 s2 , volume s3
Answers: 3
question
Computers and Technology, 22.06.2019 22:30
Which of the following factors would your hypothetical supervisor look at when deciding whether to test a biological material sample for dna? the amount of other evidence you have implicating a suspect in a crime the annual budget for the crime lab both of the above none of the above; you would almost always order a test
Answers: 3
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, 18.06.2021 18:00