need code for this:
Write a program that creates a random file containing academic info. using data entered from the console. Each record is 27 bytes long, and there should be at least 20 records. The record format is shown here:
Field Column
Student Number 1
Last Name 6
Course Taken 19
Number of credits 27
Grade 28
Here is some sample data to which you should add at least 17 more records:
10024ADAMS ENG 11003A
23456BEAN CIS 23014B
12345BOOKER MAC 11325A
Using this file write a random file update program that
displays the following menu:
STUDENT FILE MAINTENANCE
S Show a single record
A Add a new record
C Change a record
D Delete a record
E exit program
The user may select records by record number. After each of the menu functions is carried out, return to the menu. Test the prog with multiple additions, deletions, and changes to records.
Write a program that creates a random file containing academic info. using data entered from the console. Each record is 27 bytes long, and there should be at least 20 records. The record format is shown here:
Field Column
Student Number 1
Last Name 6
Course Taken 19
Number of credits 27
Grade 28
Here is some sample data to which you should add at least 17 more records:
10024ADAMS ENG 11003A
23456BEAN CIS 23014B
12345BOOKER MAC 11325A
Using this file write a random file update program that
displays the following menu:
STUDENT FILE MAINTENANCE
S Show a single record
A Add a new record
C Change a record
D Delete a record
E exit program
The user may select records by record number. After each of the menu functions is carried out, return to the menu. Test the prog with multiple additions, deletions, and changes to records.