Hello, i need help with COOL programming , thank you Draft the code that will establish (declare) a table of 200 occurre

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Hello, i need help with COOL programming , thank you Draft the code that will establish (declare) a table of 200 occurre

Post by answerhappygod »

Hello, i need help with COOL programming , thank you
Draft the code that will establish (declare) a table of 200occurrences with the following structure.CAR-TYPE PICX(5)CAR-YEAR PIC9(4)ENGINE SIZE PIC 9(1)
Draft the code that will read a record from a file calledCAR-FILE and load the table sequentially with the recordsread.Assume that the subscript field is SUB-1 and has been declared asPIC 9(3).Assume that the record structure for the input records have beendeclared with the record name CAR-RECORD.
Draft only the required DATA DIVISION and PROCEDUREDIVISION.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply