Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 809 Bytes

File metadata and controls

26 lines (20 loc) · 809 Bytes

This program generates random data set for student record(studentno,name,course) and retrives record with lowest student number. Also user can add a new record in the random list and it will be sorted.

random1() this function is used to generate random set of data and creates a list of student no,name and course in it.

store() this function is used to store the list created by random function.

retrive() this function retrives the lowest student no, and removes it from the list.It uses the quicksort algorithm.

add() this function allows user to add new record to the list.

show() this function shows the sorted list after inserting the new record and its position.

Steps to run the program 1.store() 2.retrive() 3.add() a.Enter 8 digit Student No. b.Enter Name c.Enter 5 digit Course 4.show()