% Tabela 3.1: Beton - Wytrzyma³oœæ, modu³ sprê¿ystoœci i odkszta³cenia
% graniczne (EC 2)
B=menu('Totalizator Sportowy','Lotto','Multi Multi','Mini Lotto');
switch B
    case 1
       r = randperm(49); 
       y=r(1:6)
    case 2
        L=menu('Multi Multi','1 liczba','2 liczby','3 liczby','4 liczby','5 liczb','6 liczb','7 liczb','8 liczb','9 liczb','9 liczb');
        switch L
            case 1
                r = randperm(80); 
                y=r(1)   
                            case 2
                r = randperm(42); 
                y=r(1:2)
                                     case 3
                r = randperm(80); 
                y=r(1:3) 
                                     case 4
                r = randperm(80); 
                y=r(1:4)
                                     case 5
                r = randperm(80); 
                y=r(1:5)
                                     case 6
                r = randperm(80); 
                y=r(1:6) 
                                     case 7
                r = randperm(80); 
                y=r(1:7) 
                                     case 8
                r = randperm(80); 
                y=r(1:8)
                                     case 9
                r = randperm(80); 
                y=r(1:9)
                                     case 10
                r = randperm(80); 
                y=r(1:10) 
        end
    case 3
        r = randperm(42); 
        y=r(1:5) 
end