clc
clear

not=input('bir not degeri girin: ')
i=1;
while not~=-1
    if not>=0 && not<=100
        clc
        disp('Girilen notun harf karsiligi: ')
        if not>=90 && not<=100
            disp('AA')
            elseif not>=85 && not<=89
                disp('BA')
            elseif not>=80 && not<=84
                disp('BB')
            elseif not>=70 && not<=79
                disp('CB')
            elseif not>=60 && not<=69
                disp('CC')
            elseif not>=50 && not<=59
                disp('DC')
            elseif not>=45 && not<=49
                disp('DD')
            elseif not>=35 && not<=44
                disp('FD')
            elseif not>=0 && not<=34
            disp('FF')
        end
        notlar(i)=not;
        i=i+1;
    else
        clc
        disp('lutfen mantikli bir deger girin')
        pause(3)
    end
    not=input('bir not degeri girin: ')
end
notlar