<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>WSHE I TAKIE TA<</title>
<link>http://www.wshebytom.pun.pl</link>
<description> WSHE I TAKIE TA&#60;</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=51#p51</link>
<guid isPermaLink="false">51@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[int i=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int a = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozmiar];<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a = (int) (Math.random()*50);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (a % 2 == 0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;tab[i] = a ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else i--;&nbsp; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double suma = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; double srednia = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int ilosc = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;rozmiar; i=i+1) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; suma = suma + tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;rozmiar; i=i+1) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ilosc = ilosc + 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;suma wynosi: &quot; + suma);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; srednia = suma / ilosc;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.println(&quot;średnia wynosi: &quot; + srednia);<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; }<br />}<br /><br /><br />int i=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />int tab[] = new int [rozmiar];<br /><br />for ( i = 0 ; i &lt; rozmiar ; i++ )<br />{int liczba = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj liczbę&quot;));<br />tab[i] = liczba;}<br /> <br />for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);&nbsp; &nbsp; <br />}<br />int min;<br />int max;<br />min= tab[0];<br />max= tab[0];<br /><br />for (i=0; i&lt;rozmiar; i=i+1) {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if (tab[i] &lt; min)<br />&nbsp; &nbsp; &nbsp; &nbsp; min = tab[i]; <br />&nbsp; &nbsp; if (tab[i] &gt; max)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;max = tab[i];<br />}<br />System.out.println(&quot; &quot;);<br />System.out.println(&quot;min= &quot;+ min);<br />System.out.println(&quot;max= &quot;+ max);<br />&nbsp; &nbsp; }<br />}<br /><br /><br />import javax.swing.JOptionPane;<br />public class luk {<br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br />&nbsp; &nbsp; &nbsp; &nbsp; int i=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int a=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozmiar];<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; a=(int) (Math.random()*20);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (a&gt;=10)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;tab[i] = a ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else i--;&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }&nbsp; &nbsp; <br />&nbsp; &nbsp; for&nbsp; &nbsp; ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int suma = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for (i=0; i&lt;rozmiar; i=i+1) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; suma = suma + tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;suma wynosi = &quot; + suma);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; }<br /><br />}<br /><br /><br />public class luk {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br /><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; int a = Integer.parseInt(args[0]); <br />&nbsp; &nbsp; int b = Integer.parseInt(args[1]);<br />&nbsp; &nbsp; int c = Integer.parseInt(args[2]);<br />&nbsp; &nbsp; int d = Integer.parseInt(args[3]);<br />&nbsp; &nbsp; System.out.print(&quot; &quot; + a);<br />&nbsp; &nbsp; System.out.print(&quot; &quot; + b);<br />&nbsp; &nbsp; System.out.print(&quot; &quot; + c );<br />&nbsp; &nbsp; System.out.print(&quot; &quot; + d );<br />&nbsp; &nbsp; System.out.println(&quot; &quot;);<br />&nbsp; &nbsp; System.out.print(&quot;el. parzyste: &quot;);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; int suma = 0;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if ( a %2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + a);<br />&nbsp; &nbsp; &nbsp; &nbsp; suma = suma + a;<br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; if ( b %2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + b);<br />&nbsp; &nbsp; &nbsp; &nbsp; suma = suma + b;<br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; if ( c %2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + c);<br />&nbsp; &nbsp; &nbsp; &nbsp; suma = suma + c;<br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; if ( d %2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + d);<br />&nbsp; &nbsp; &nbsp; &nbsp; suma = suma + d;<br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; System.out.println(&quot; &quot;);<br />&nbsp; &nbsp; System.out.print(&quot;suma wynosi: &quot; + suma);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; int max = 0;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if( a &gt; b ){<br />&nbsp; &nbsp; &nbsp; &nbsp; max = a;<br />&nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = b;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if( a &gt; c ){<br />&nbsp; &nbsp; &nbsp; &nbsp; max = a;<br />&nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( b &gt; c ){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = b;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = c;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if( a &gt; d ){<br />&nbsp; &nbsp; &nbsp; &nbsp; max = a;<br />&nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( b &gt; d ){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = b;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( c &gt; d ){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = c;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max = d;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; System.out.print(&quot;max = &quot; + max );<br />&nbsp; &nbsp; <br /><br />&nbsp; &nbsp; }<br />}<br /><br />int i=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />int tab[] = new int [rozmiar];<br /><br />for ( i = 0 ; i &lt; rozmiar ; i++ )<br />{int liczba = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj liczbę&quot;));<br />tab[i] = liczba;}<br /> <br />for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);&nbsp; &nbsp; <br />}<br />int min;<br />int max;<br />min= tab[0];<br />max= tab[0];<br /><br />for (i=0; i&lt;rozmiar; i=i+1) {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; if (tab[i] &lt; min)<br />&nbsp; &nbsp; &nbsp; &nbsp; min = tab[i]; <br />&nbsp; &nbsp; if (tab[i] &gt; max)<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;max = tab[i];<br />}<br />System.out.println(&quot; &quot;);<br />System.out.println(&quot;min= &quot;+ min);<br />System.out.println(&quot;max= &quot;+ max);<br />&nbsp; &nbsp; }<br />}]]></description>
<pubDate>Sobota 13 WrzesieĹ</pubDate>
<comments>Sobota 13 WrzesieĹ</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=50#p50</link>
<guid isPermaLink="false">50@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[Zadanie z dzisiejszej poprawki z PP.<br /><br />1. Losuje zakres tablicy z przedziału 10-20.<br />2. Rozmiar tablicy wprowadzamy przez okno dialogowe.<br />3. Sumuje wyrazy w tablicy.<br /><br />Algorytm:<br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>import javax.swing.*;

public class programowanie {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        
        int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar: &quot;));
        int tablica[] = new int [rozmiar];
        int zakres = Integer.parseInt(args[1]);
        int sum = 0;
        int i = 0;
       
        for ( i = 0; i &lt; rozmiar; i = i + 1) {
            tablica[i] = (int)((Math.random()*zakres));
            
            System.out.print(&quot; &quot; +tablica[i]);
        }
            System.out.println(&quot;&quot;);
            
            for ( i = 0 ; i &lt; rozmiar; i = i +1 )
                sum = sum + tablica[i];
            System.out.println(&quot;Suma: &quot;+sum);
        
        }
    }</pre></div></div></div>]]></description>
<pubDate>Sobota 6 WrzesieĹ</pubDate>
<comments>Sobota 6 WrzesieĹ</comments>
</item>
<item>
<title>ggry</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=49#p49</link>
<guid isPermaLink="false">49@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[public class yyy {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int a = Integer.parseInt(args[0]);<br />&nbsp; &nbsp; &nbsp; &nbsp; int b = Integer.parseInt(args[1]);<br />&nbsp; &nbsp; &nbsp; &nbsp; int c = Integer.parseInt(args[2]);<br />&nbsp; &nbsp; &nbsp; &nbsp; int d = Integer.parseInt(args[3]);<br />&nbsp; &nbsp; &nbsp; &nbsp; int parz =0;<br />&nbsp; &nbsp; &nbsp; &nbsp; if(a%2==0){ <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parz = parz +1;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(b%2==0){ <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parz = parz +1;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(c%2==0){ <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parz = parz +1;}<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(d%2==0){ <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parz = parz +1;}<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(parz); <br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; }]]></description>
<pubDate>Sobota 5 Lipiec</pubDate>
<comments>Sobota 5 Lipiec</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=48#p48</link>
<guid isPermaLink="false">48@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[//zadanie z grupy A//<br /><br />import javax.swing.*;<br />public class qwerty {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int i=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; double suma = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozmiar];<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 1 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab[i] = (int) (Math.random()*50);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; int parzyste = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; int licz = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0; i &lt; rozmiar; i = i +1 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parzyste = parzyste + 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int tab2[] = new int [parzyste];<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i = i +1 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab2[licz] = tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; suma = suma + tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; licz++;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;elementów parzystych jest: &quot;+ parzyste);<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;suma elementów parzystych wynosi: &quot;+ suma);<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( licz = 0 ; licz &lt; parzyste ; licz = licz + 1 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab2[licz]);<br />&nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; }<br /><br /><br />&nbsp; &nbsp; }<br /><br /><br />//a to drugi program<br /><br /><br />import javax.swing.*;<br />public class qwerty {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br /><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; int i = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozmiar];<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 1 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab[i] = (int) (Math.random()*50);<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; int parzyste = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0; i &lt; rozmiar;&nbsp; i ++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parzyste = parzyste + 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println ();<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;elementów parzystych jest: &quot;+ parzyste);<br />&nbsp; &nbsp; &nbsp; &nbsp; int nieparzyste = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0; i &lt; rozmiar;&nbsp; i ++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 != 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nieparzyste = nieparzyste + 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;elementów nieparzystych jest: &quot;+ nieparzyste);<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; int tab2[] = new int [rozmiar]; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ;&nbsp; i ++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 == 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab2[i] = tab[i]+10;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[i]%2 != 0 ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab2[i] = tab[i]-1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozmiar ;&nbsp; i ++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + tab2[i]);<br />&nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; <br />}}]]></description>
<pubDate>Czwartek 3 Lipiec</pubDate>
<comments>Czwartek 3 Lipiec</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=47#p47</link>
<guid isPermaLink="false">47@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<span style="color: red"><strong>min i max w 1 pętli + średnia z tabeli </strong></span><br /><br /><br /><div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>public class zadanie {

   public static void main(String[] args) {
              int i=0;
                      int rozmiar = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar&quot;));
       int tab[] = new int [rozmiar];
       for ( i = 0 ; i &lt; rozmiar ; i++ ) {
           tab[i] = (int) (Math.random()*30);
        }
       for ( i = 0 ; i &lt; rozmiar ; i++ ) {
           System.out.print(tab[i] + &quot; &quot;);
       }
       int min;
       int max;
       min= tab[0];
       max= tab[0];

       for (i=0; i&lt;rozmiar; i=i+1) {
                      if (tab[i] &lt; min)
               min = tab[i];
           if (tab[i] &gt; max)
               max = tab[i];
       }
       System.out.println(&quot; &quot;);
       System.out.println(&quot;min= &quot;+ min);
       System.out.println(&quot;max= &quot;+ max);
              double srednia;
       double suma;
       suma=min +max;
       srednia = suma /2;
              for (i=0; i&lt;rozmiar; i=i+1)
           System.out.print(&quot;&quot;+ tab[i]);
           System.out.println ();
           System.out.println(&quot;Średnia= &quot;+ srednia);
          }

}</pre></div></div></div>]]></description>
<pubDate>Niedziela 29 Czerwiec</pubDate>
<comments>Niedziela 29 Czerwiec</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=45#p45</link>
<guid isPermaLink="false">45@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[int i; <br />&nbsp; &nbsp; &nbsp; &nbsp; int p;<br />&nbsp; &nbsp; &nbsp; &nbsp; int s=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int roz=4;<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [roz];<br /><br />&nbsp; &nbsp; for (i=0; i&lt;roz; i=i+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; tab[i]= Integer.parseInt(args[i]);<br /><br />&nbsp; &nbsp; for (i=0; i&lt;roz; i=i+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot;&quot;+tab[i]);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; for (i=0; i&lt;roz; i=i+1){<br />&nbsp; &nbsp; &nbsp; &nbsp; p = tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; s = s + p;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; System.out.print(&quot;Suma&quot; + s);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; p = s / roz;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; System.out.print(&quot;Srednia&quot; + p);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; }&nbsp; &nbsp; <br />}]]></description>
<pubDate>Niedziela 15 Czerwiec</pubDate>
<comments>Niedziela 15 Czerwiec</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=44#p44</link>
<guid isPermaLink="false">44@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>public class tomek {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub

        int j=0;    
        int i=0;
        
        int rozmiar = 10; 
        int tab[] = new int [rozmiar];
        
        for (i=0; i&lt;rozmiar; i=i+1)
            tab[i] = (int) (Math.random()*50);
        for (i=0; i&lt;rozmiar; i=i+1)    
            System.out.print(&quot; &quot;+tab[i]);
            System.out.println(&quot; &quot;);
        
        for(i=0; i&lt;=10; i=i+1){
                System.out.println(&quot;&quot;);
            for(j=i; j&lt;10; j=j+1)
              
                System.out.print(&quot; &quot;+tab[j]);
        } 
    }
}</pre></div></div></div>]]></description>
<pubDate>Niedziela 1 Czerwiec</pubDate>
<comments>Niedziela 1 Czerwiec</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=43#p43</link>
<guid isPermaLink="false">43@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>public class tom {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        

        int rozm = args.length;
        int tab[] = new int [rozm];
        int i = 0;
        int suma=0;
        
        System.out.println(&quot;Ilość komórek tablicy - &quot;+args.length);
        
        for(i=0; i&lt;rozm; i=i+1)
        tab[i] = Integer.parseInt(args[i]); 
        

        
        for(i=0; i&lt;rozm; i=i+1)
            System.out.print(tab[i]+&quot; &quot;);
        
        for(i=0; i&lt;rozm; i=i+1)
        suma=suma+tab[i];
        System.out.println(&quot;&quot;);
        System.out.println(&quot;Suma: &quot;+suma);
            

        }
}</pre></div></div></div>]]></description>
<pubDate>Niedziela 18 Maj</pubDate>
<comments>Niedziela 18 Maj</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=42#p42</link>
<guid isPermaLink="false">42@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[import javax.swing.*;<br />import javax.swing.JOptionPane;<br />import java.util.*;<br />public class prog1 {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br />int suma=0;<br />//int rozmiar= Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj rozmiar: &quot;));<br />int i=0;<br />int arg;<br /> int rozmiar=args.length;<br /> int tab[] = new int[rozmiar];<br /> for (i=0; i&lt;rozmiar; i=i+1)<br />tab[i]= Integer.parseInt(args[i]);<br /><br /> int sort= Integer.parseInt(JOptionPane.showInputDialog(&quot;jak sortować (1 dla rosnaco, 2 dla malejąco): &quot;));<br /> <br />//for (i=0; i&lt;rozmiar; i=i+1) //przebiega po tablicy<br />&nbsp; &nbsp; //suma=suma+tab[i];<br /><br />&nbsp; &nbsp; <br /><br /><br />//&nbsp; &nbsp; System.out.print(&quot; &quot;+suma);//drukowanie<br />&nbsp; &nbsp; if (sort ==1) {<br />&nbsp; &nbsp; &nbsp; &nbsp; int p = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; int j = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for ( i = 0 ; i &lt; rozmiar ; i++ ) {&nbsp; &nbsp; //przebieg po tablicy<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for ( j = 0 ; j &lt; rozmiar-1-i ; j++ ) { //przebiega po tablicy do wielkości mniejszej o 1 i mniejszej o wartość kolejnego kroku<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ( tab[j] &gt; tab[j+1]) { //jeżeli parametr tablicy jest większy od następnego parametru<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p = tab[j]; //przypisujemy jego wartość do zmiennej p<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tab[j] = tab[j+1]; //przypisujemy wartość następnego parametru (tego mniejszego) do na miejscie parametru większego<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tab[j+1] = p; //przypisujemy wartość mniejszą na miejsce w tablicy o jeden większe<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for (i=0; i&lt;rozmiar; i++){<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.print(&quot; &quot;+tab[i]); //wyświetlenie tablicy<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; int p = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; int j = 0; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for ( i = 0 ; i &lt; rozmiar ; i++ ) {&nbsp; &nbsp; //przebieg po tablicy<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for ( j = 0 ; j &lt; rozmiar-1-i ; j++ ) { //przebiega po tablicy do wielkości mniejszej o 1 i mniejszej o wartość kolejnego kroku<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ( tab[j] &lt; tab[j+1]) { //jeżeli parametr tablicy jest większy od następnego parametru<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p = tab[j]; //przypisujemy jego wartość do zmiennej p<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tab[j] = tab[j+1]; //przypisujemy wartość następnego parametru (tego mniejszego) do na miejscie parametru większego<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tab[j+1] = p; //przypisujemy wartość mniejszą na miejsce w tablicy o jeden większe<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for (i=0; i&lt;rozmiar; i++){<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;System.out.print(&quot; &quot;+tab[i]); //wyświetlenie tablicy<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; }}]]></description>
<pubDate>Niedziela 18 Maj</pubDate>
<comments>Niedziela 18 Maj</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=41#p41</link>
<guid isPermaLink="false">41@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[Program sortuje i wyświetla tablice za pomocą 4 różnych algorytmów (bąbelkowy z/bez wartownika, ze wstawianiem, QuickSort):<br /><br />// cut here<br /><br />import java.util.*; // importuje bibliotekę niezbędną do wykonania funkcji takich, jak &quot;Date&quot; (określenie czasu) czy Arrays.sort (QuickSort)<br /><br /><br />public class glowna {<br /><br />&nbsp; &nbsp; /**<br />&nbsp; &nbsp;&nbsp; * @param args<br />&nbsp; &nbsp;&nbsp; */<br />&nbsp; &nbsp; public static void main(String[] args) {<br />&nbsp; &nbsp; &nbsp; &nbsp; // TODO Auto-generated method stub<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int i=0; // inicjalizacja zmiennych wykorzystanych później w pętlach<br />&nbsp; &nbsp; &nbsp; &nbsp; int j=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozTab=3000; // definicja rozmiaru tablicy<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozTab]; // inicjalizacje tablic sortowanych w późniejszej części programu<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab1[] = new int [rozTab];<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab2[] = new int [rozTab];<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab3[] = new int [rozTab];<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab3[i] = tab2[i] = tab1[i] = tab[i] = (int) (Math.random()*30); // zapełnianie wszystkich tablic takimi samymi, losowymi wartościami<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />/*&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; tab.length ; i++ ) { // wyświetlanie tablicy w postacii &quot;trójkąta&quot; (zmniejsz rozmiar tablicy, żeby zobaczyć faktyczny efekt, 10 powinno wystarczyć :P)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( j = 0 ; j &lt; i+1 ; j++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[j] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = tab.length ; i &gt; 0 ; i-- ) { // to samo, co powyżej - ale odwrócone (zmniejsz rozmiar tablicy, żeby zobaczyć faktyczny efekt, 10 powinno wystarczyć :P)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( j = 0 ; j &lt; i ; j++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[j] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />*/<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; // sortowanie ze wstawianiem<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; int min = tab[0]; // zdefiniowanie minimum jako pierwszego (zerowego) elementu tablicy<br />&nbsp; &nbsp; &nbsp; &nbsp; int indmin = 0; // zdefiniowane miejsca w tabli, na którym znajduje się minimum<br />&nbsp; &nbsp; &nbsp; &nbsp; int buf = 0; // bufor niezbędny do zamiany wartości w tablicy<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;); <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; Date d1 = new Date(); // pobranie aktualnego czasu - potrzebne do obliczenia czasu działania algorytmu<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab-1 ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //ustal parametry szukania minimum w i-tym przebiegu<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min = tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; indmin = i; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //znajdz min - szuka minimum w całej tabeli<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( j = i ; j &lt; rozTab ; j++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab[j] &lt; min ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; min = tab[j];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; indmin = j;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //zamien indmin z i&nbsp; - w przypadku, gdy znajdzie minimum zamienia miejscami odpowiednie miejsca w tabeli<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; buf = tab[indmin];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab[indmin] = tab[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab[i] = buf;&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; Date d2 = new Date();&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;Algorytm ze wstawianiem: &quot; + (d2.getTime()-d1.getTime()) + &quot;ms&quot;); // wyświetlenie czasu trwania algorytmy wraz z nazwą<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; // sortowanie babelkowe z wartownikiem<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; min = tab1[0]; <br />&nbsp; &nbsp; &nbsp; &nbsp; indmin = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; buf = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab1[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; Date d3 = new Date();<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; boolean test = false;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( j = 0 ; j &lt; rozTab-1-i ; j++ ) {&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab1[j] &gt; tab1[j+1] ) {&nbsp; // zamienia dwa następujące po sobie miejsca w tabeli<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; buf = tab1[j];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab1[j] = tab1[j+1];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab1[j+1] = buf;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; test = true;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( test == false ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; Date d4 = new Date();<br />&nbsp; &nbsp; System.out.println(&quot;Algorytm z wartownikiem zajął: &quot; + (d4.getTime()-d3.getTime()) + &quot;ms&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab1[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; // sortowanie babelkowe<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; min = tab3[0]; <br />&nbsp; &nbsp; &nbsp; &nbsp; indmin = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; buf = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab3[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; Date d5 = new Date();<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for ( j = 0 ; j &lt; rozTab-1-i ; j++ ) {&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( tab3[j] &gt; tab3[j+1] ) {&nbsp; // zamienia dwa następujące po sobie miejsca w tabeli<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; buf = tab3[j];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab3[j] = tab3[j+1];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab3[j+1] = buf;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; Date d6 = new Date();<br />&nbsp; &nbsp; System.out.println(&quot;Algorytm bez wartownika zajął: &quot; + (d6.getTime()-d5.getTime()) + &quot;ms&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab3[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab2[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; Date d7 = new Date();<br />&nbsp; &nbsp; &nbsp; &nbsp; Arrays.sort(tab2); // metoda QuickSort (więcej na wykładach AiSD :P)<br />&nbsp; &nbsp; &nbsp; &nbsp; Date d8 = new Date();<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;\n&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; System.out.println(&quot;Algorytm Quicksort: &quot; + (d8.getTime()-d7.getTime()) + &quot;ms&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for ( i = 0 ; i &lt; rozTab ; i++ ) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(tab2[i] + &quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br /><br />}<br /><br />// cut here]]></description>
<pubDate>Sobota 17 Maj</pubDate>
<comments>Sobota 17 Maj</comments>
</item>
<item>
<title>begins...</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=40#p40</link>
<guid isPermaLink="false">40@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[Michał Konieczny<br />Ruda Śląska<br />gg 1516429]]></description>
<pubDate>Sobota 17 Maj</pubDate>
<comments>Sobota 17 Maj</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=39#p39</link>
<guid isPermaLink="false">39@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>import javax.swing.*;


public class abc {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int rozmiar = 15;
        int tab[] = new int[rozmiar];
        
        for ( int i = 0 ; i &lt; rozmiar ; i++ ) {
            tab[i] = (int) ( Math.random()*10 );
        }
        
        int i = 0; 
        int j = 0; 
    
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            System.out.print(&quot; &quot; + tab[i]);    
        }
            System.out.println(&quot;&quot;);
        
            int p = 0; 
        
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            for ( j = 0 ; j &lt; rozmiar-1 ; j++ ) {
                if ( tab[j] &gt; tab[j+1]) {
                    p = tab[j];
                    tab[j] = tab[j+1];
                    tab[j+1] = p;
                }    
            }
        }
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            System.out.print(&quot; &quot; + tab[i]);    
        }
    }
}</pre></div></div></div>]]></description>
<pubDate>Niedziela 27 KwiecieĹ</pubDate>
<comments>Niedziela 27 KwiecieĹ</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=38#p38</link>
<guid isPermaLink="false">38@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>import javax.swing.* ;
public class tablica {

    public static void main(String[] args) {
        int rozmiar = 15; 
        int tab1[] = new int [rozmiar];
        int i=0;
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            tab1[i] = (int) (Math.random()*10);
            System.out.print(&quot; &quot;+tab1[i]);    
        }
        System.out.print(&quot;\n&quot;);
        int j =0;
        int p=0;
        boolean test=false;
        for (i=0; i&lt;rozmiar; i++){
            for(j=0; j&lt;rozmiar-1-i; j++){
                if (tab1[j] &gt; tab1[j+1]) {
                p=tab1[j];
                tab1[j]=tab1[j+1];
                tab1[j+1]=p;
                test=true;
            }
                else{
                test=false;
            }
        }
    }
        if (test==false) {
            for (i=0; i&lt;rozmiar; i++){
                System.out.print(&quot; &quot;+tab1[i]);
            }
        }
    }
}</pre></div></div></div>]]></description>
<pubDate>PiĹĄtek 25 KwiecieĹ</pubDate>
<comments>PiĹĄtek 25 KwiecieĹ</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=37#p37</link>
<guid isPermaLink="false">37@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[<div class="codebox"><div class="incqbox"><h4>Kod:</h4><div class="scrollbox" style="height: 35em"><pre>import javax.swing.JOptionPane;


public class ppmain {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        int rozmiar = 15;
        int tab[] = new int[rozmiar];
        
        for ( int i = 0 ; i &lt; rozmiar ; i++ ) {
            tab[i] = (int) ( Math.random()*10 );
        }
        
        int i = 0; 
        int j = 0; 
        
/*        for ( i = 1 ; i &lt; rozmiar ; i = i + 1 ) {
            System.out.println(&quot;&quot;);
            for ( j = 0 ; j &lt; i ; j = j + 1 ) {
                System.out.print(&quot; &quot; + tab[j]);
            }
        }
*/        
        
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            System.out.print(&quot; &quot; + tab[i]);    
        }
        
        System.out.print(&quot;\n&quot;);
        
        int p = 0; 
        
/*        int x1 = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj lokalizację pierwszej liczby&quot;));

        if ( x1 &gt;= rozmiar ) {
            System.err.print(&quot;Za duża liczba&quot;);
        }

        int x2 = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj lokalizację drugiej liczby&quot;));
        
        if ( x1 &gt;= rozmiar ) {
            System.err.print(&quot;Za duża liczba&quot;);
        }
        
        p = tab[x2];
        tab[x2]=tab[x1];
        tab[x1]=p;
        
        for ( x1 = 0 ; x1 &lt; rozmiar ; x1++ ) {
            System.out.print(&quot; &quot; + tab[x1]);    
        }
*/        
        boolean proba = false; 
        
        for ( i = 0 ; i &lt; rozmiar ; i++ ) {
            for ( j = 0 ; j &lt; rozmiar ; j++ ) {
                if ( tab[i] &gt; tab[j]) {
                    p = tab[i];
                    tab[i] = tab[j];
                    tab[j] = p;
                    proba = true;
                }
                else {
                    proba = false;
                }
            }
        }
        if ( proba == false ) {
            for ( i = 0 ; i &lt; rozmiar ; i++ ) {
                System.out.print(&quot; &quot; + tab[i]);
            }
            System.exit(0);
        }
    }

}</pre></div></div></div>]]></description>
<pubDate>PiĹĄtek 25 KwiecieĹ</pubDate>
<comments>PiĹĄtek 25 KwiecieĹ</comments>
</item>
<item>
<title>pp imie i wiek</title>
<link>http://www.wshebytom.pun.pl/viewtopic.php?pid=36#p36</link>
<guid isPermaLink="false">36@http://www.wshebytom.pun.pl</guid>
<description><![CDATA[&quot;zmiana liczb&quot;<br /><br /><br />&nbsp; &nbsp; int pom; <br />&nbsp; &nbsp; &nbsp; &nbsp; int i = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; int rozm = 25;<br />&nbsp; &nbsp; &nbsp; &nbsp; int tab[] = new int [rozm];<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;rozm; i=i+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tab[i] = (int)&nbsp; (Math.random()*50); <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;rozm; i=i+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; +tab[i]);<br />&nbsp; &nbsp; &nbsp; int zm1 = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj liczbe A&quot;));<br />&nbsp; &nbsp; &nbsp; int zm2 = Integer.parseInt(JOptionPane.showInputDialog(&quot;Podaj liczbe B&quot;));<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; pom = tab[zm1];<br />&nbsp; &nbsp; tab[zm1] = tab[zm2];<br />&nbsp; &nbsp; tab[zm2] = pom;<br />&nbsp; &nbsp; System.out.println(&quot; &quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i=0; i&lt;rozm; i=i+1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; System.out.print(&quot; &quot; + tab[i]);<br />&nbsp; &nbsp; }<br /><br />}]]></description>
<pubDate>PiĹĄtek 25 KwiecieĹ</pubDate>
<comments>PiĹĄtek 25 KwiecieĹ</comments>
</item>
</channel>
</rss>
