Thursday, 11 June 2026

Binary Practice :

 '''A binary file Transport.dat stores records in the following format:[StudentId, StudentName, RouteNo, RouteName]

Write suitable functions for the following:

>addStudent()

Accept the details of a student and append the record to the binary file Transport.dat.

>changeRoute(routeNo , newRouteName)

Display student names with that route.

Update the route name to the passed value

Display if no student in that route

'''


No comments:

Post a Comment