Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Code all required Environment and Data Division entries to handle this problem. A sequential file resides on the hard drive under the name RENTAL.TXT.
Code all required Environment and Data Division entries to handle this problem. A sequential file resides on the hard drive under the name RENTAL.TXT. Each record on that file relates to an automobile rental and contains the fields described below. Your lab submission is to code the required entries to establish the required entries for the: Identification division; Environment Division; and Data Division. NOTE -- your name must be coded in the AUTHOR entry. The Data record structure on file for the record CAR-RENTAL on the file RENTAL.TXT is as follows. Registration number - numeric 8 bytes Car type - alphanumeric 10 bytes Model type - alphanumeric 5 bytes Model Year - numeric 8 bytes (year, month day) Renter Data Name - alphanumeric 45 bytes (first name (15 bytes), Initial (2 bytes) last name (28 bytes). Address - alphanumeric 61 bytes (street address (25 bytes), city name (15 bytes), province (15 bytes) postal code (6 bytes)
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