Table 1.1 lists a bank’s policy for issuance of two types of credit cards: platinum or gold. An applicant can choose to apply for a single or joint (maximum of two people) credit card based on the applicants’ single income or combined income. Bank will choose to issue platinum or gold credit card according to the income provided in the application. The table also shows the maximum credit limit in either case. Note that in case of approved joint credit application, both applicants receive separate credit cards linked to one account.
Table 1.1: A bank’s credit card issuance policy
Min single income
Min joint income
Max credit limit for single income
Max credit limit for joint income
Platinum Credit Card
Gold Credit Card
You are asked to design a program that accepts the appropriate inputs to decide the type of card that the applicants are eligible for.
Create an IPO chart for the program to accept the inputs outlined above and to produce an output that includes the card type and the maximum credit limits available for the applicant(s). [5 marks]
Create an IO table which shows the proposed output for different inputs. [5 marks]