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 CARRENTAL on the file RENTAL.TXT is as follows.
Registration number numeric bytes
Car type alphanumeric bytes
Model type alphanumeric bytes
Model Year numeric bytes year month day
Interest Data
Name alphanumeric bytes first name bytes Initial bytes last name bytes
Address alphanumeric bytes street address bytes city name bytes province bytes postal code 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