Write a program to create a thread that calculates the average
marks of a student.The result is passed back to the main process
for printing.(c or c++)
write a script which keeps track of the first and last user who used the system every wednesday. the entries should be saved in a file named “wed.txt” under two columns “user_name” and “time_in”. when the total number of entries in this file reach 50 find out the user withthe maximum number of entries.