a=1
if a==1,
    k=5;
end
k
clear all

a=1
if a<1,
    k=5;
end
k
clear all


a=1; b=2; c=4;

if (a*b*b==c) & (c-b==2)
    k=10;
end

clear all
a=1; b=2; c=4;

if ((a*b*b==c*1*1) & (c-b==2)) & (c==4)
    k=10;
end

clear all
a=[1 4 5];
b=[1 3 5];

if a==b,
    k=1;
end

clear all
a=[1 4 5];
b=[1 4 5];

if a==b,
    k=1;
end

clear all
a=[1 4 5];
b=[1 4 5];

if a(1)==b(1) | b(2)==a(2),
    k=1;
end

clear all
a=6;
b=5;

if a==b,
    k=5;
else
    k=10;
end

clear all
a=5;
b=5;

if a==b,
    k=5;
else
    k=10;
end


clear all
a=10;
b=16;

if a==b,
    k=5;
elseif a>b,
    k=20;
elseif b>a & b==15
    k=80;
else
    k=90;
end

clear all
a=4;
b=6;

if a==b,
    k=5;
elseif a>b,
    k=20;
else 
    if a+b>10,
        k=50;
    elseif a+b<10,
        k=55;
    else % a+b==10 kontrol edilecek
        k=99;
    end
end

    
clear all
clc


a=5;
k=1;
while a==5,
    a=a*k
    for i=1:5
        i
        if i==4,
            k=3
        end
    end
end

clear all
a=5;
k=1;
while a==5,
    a=a*k
   
    for i=1:5
        i
        if i==4,
            k=3
            break
        end
    end
end

clear all
k=5
sayici=1;
for sayici=1:sayici,
    k=k+1
end
























