Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ABC Financing company is providing credit card services to all the customers who fulfilled the requirement that is a minimum monthly salary of RM5000 and
ABC Financing company is providing credit card services to all the customers who fulfilled the requirement that is a minimum monthly salary of RM5000 and which has one financing loan which the amount of payment is less than 25% from the monthly salary. The customer's data is stored in the input file that's shown in Figure 1. For the eligible customers, there are three types of cards offered: Platinum, Gold, and Silver. Table 1 shows the minimum requirement and total credit that is allowed for each card. 851205-07-6734 Afrina 17000 1 2000 851207-02-7762 Ali 40000 1 10000 801112-02-3421 Syakila 4000 1 1000 :| Figure 1 : Contain of input file Table 1: Requirement for credit card application Type of Card Requirement: Minimum Monthly Credit Limit Salary Platinum(P) RM 40,000 RM25,000 Gold (G) RM 15,000 RM10,000 Silver(S) RM 5,000 RM 3,000 a) Write a function to read data from the input file and store that information in the arrays. List of arrays are as shown below. i. Array to store IC number ii. Array to store nickname of the customer iii. Array to store monthly salary iv. Array to store number of loan V. Array to store monthly loan payment
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started