Question: uestion 3 [ 6 Points ] Consider a database data.txt which has data in the following format: ( 4 digits ) ( string ) (
uestion Points
Consider a database data.txt which has data in the following format:
digitsstring
Write a menu driven shell script that outputs the following menu and takes input from the user in the form of a number :
Add a student record
Print the list of students above passing marks in each subject
Print the list of students with their divisions. Rules for divisions are:
Ist division: Pass and marks on average
IInd division: Pass and marks
IIIrd division: Pass and marks
Fail: Otherwise
Delete a student record
Exit
If user input is then ask the user for each entry Roll number, Name, etc separately and add the record in the file. For any wrong entry, prompt the user to input again. To delete a student record, take in the roll number
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
