22.01.2013 Views

TT algoritmusok szoveg v014.pdf

TT algoritmusok szoveg v014.pdf

TT algoritmusok szoveg v014.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programot módosította Dr Tuzson Tibor 2009*/<br />

5.1.3. Egy szám osztóinak kiszámítása do-while ciklussal<br />

/*Egy szam osztoit irja ki a kepernyore. Nem csak a primtenyezoket<br />

Es egyszeru primteszt do-while ciklussal*/<br />

#include <br />

#include <br />

void oszto3(long int szam);<br />

int main()<br />

{<br />

int x;<br />

do<br />

{<br />

printf("Szam (>2): "); scanf("%d",&x);<br />

}<br />

while (x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!