Write a program which handles a credit card operation. For simplicity, assume that there are only six customers. The set of six data cards is 511 MARIAN GREEN 0.00 128 'WILLIAM BROWN -5.89 094 'GARY WHITE' 48.50 407 'JUDY GREY 234.00 0.00 127.14 351 'ALLEN BLACK' 013 'JOHN GREEN where the first (three digit) integer is an account number, the second item is the customer's name, and the third number is the unpaid balance of previous purchases. The minus sign means BROWN overpaid and has positive balance. The second set of data cards is 013 127.14 83.25 Your program must be able to handle up to 6 sets of data 407 100.00 0.0 511 0.0 141.50 128 0.0 47.10 here where the first integer is again an account number, the second number represents the payment since the last bill, and the third number represents new purchases made with the credit card. Write a PL/I program which reads in this data and prints out a five column table showing, for each customer, the account number, name, previous unpaid balance, the new unpaid balance, and the word DELINQUENT in a case where the payment made is less than one half the previous balance. Print out the above table in numerical order by account number with the lowest number first:
Write a program which handles a credit card operation. For simplicity, assume that there are only six customers. The set of six data cards is 511 MARIAN GREEN 0.00 128 'WILLIAM BROWN -5.89 094 'GARY WHITE' 48.50 407 'JUDY GREY 234.00 0.00 127.14 351 'ALLEN BLACK' 013 'JOHN GREEN where the first (three digit) integer is an account number, the second item is the customer's name, and the third number is the unpaid balance of previous purchases. The minus sign means BROWN overpaid and has positive balance. The second set of data cards is 013 127.14 83.25 Your program must be able to handle up to 6 sets of data 407 100.00 0.0 511 0.0 141.50 128 0.0 47.10 here where the first integer is again an account number, the second number represents the payment since the last bill, and the third number represents new purchases made with the credit card. Write a PL/I program which reads in this data and prints out a five column table showing, for each customer, the account number, name, previous unpaid balance, the new unpaid balance, and the word DELINQUENT in a case where the payment made is less than one half the previous balance. Print out the above table in numerical order by account number with the lowest number first:
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Fast
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY