You are requested to develop the following console application using C#. The application reads, stores and retrieves objects of the following types:
CreditCard: class with the following attributes:
Attributes:
cardNumber: String
clientName: String
balance: float
limit: float
Methods:
float spend (float amount): adds the “amount” to the balance of this card, if the new balance does not exceed the limit of the card.
float pay (float amount): pays off the balance of this card by the as much as “amount”

Rajeesh MenothRank #118 · 18.4K reputationPosted Feb 4, 2022, 3:59 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2022, 4:12 AM EST
Gajendra JangidRank #157 · 14.9K reputationPosted Apr 6, 2022, 12:37 AM EDT