clear all

coursework1=input('Eisagete tin prwti vathmologia: ');
coursework2=input('Eisagete tin deuteri vathmologia: ');
coursework3=input('Eisagete tin triti vathmologia: ');

ave_mark=1/3*(coursework1+coursework2+coursework3);

disp(['O mesos oros tis vathmologias einai: ',num2str(ave_mark)])