Write a program to calculate the final mark of students and to display the marks in a listbox using sequential files. The input values (icasno, name, ca1, asin, ca2 & test marks) must be taken from the sequential file.
FINAL MARK = ((ca1 + asin + ca2) / 3) * 0.4 + text * 0.6