Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write c# equivalent statements for the following: A bank is offering Gold and Silver Credit Cards to its customers. Gold Card allows a credit limit

Write c# equivalent statements for the following:

A bank is offering Gold and Silver Credit Cards to its customers. Gold Card allows a

credit limit up to 100,000 rupees per month while the Silver Card offers a credit limit up

to 50,000 rupees per month. Design a program which will take following inputs from

user.

Account_Title

CNIC_Number

Account_Number

Card_Type

Credit_Amount

If user enters Gold, an object of Gold type would be instantiated, whereas, if the user

enters Silver, an object of Silver type would be instantiated. Upon requesting of credit

from bank, the system will check the limit depending on the card type of the user. If the

Credit_Amount entered by user exceeds the limit, a failure exception would be shown

along with the account information and if the Credit_Amount is within the defined limit,

the system would prompt a Success message with account information.

PLease send ASAP

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions