18.08.2013 Views

Dalla A alla Z passando per C - Robotica

Dalla A alla Z passando per C - Robotica

Dalla A alla Z passando per C - Robotica

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.

}<br />

}<br />

f0 = temp;<br />

printf("%d %d\n", n, f1);<br />

Esercizio 24<br />

Data la seguente porzione di codice in linguaggio C, si costruisca il flowchart corrispondente<br />

e si dica quali strutture di controllo sono state utilizzate <strong>per</strong> rappresentarlo.<br />

int i, x=5;<br />

float a;<br />

for (i=100; i>0; i-=2){<br />

x /= i;<br />

if(i >= 50 && i

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

Saved successfully!

Ooh no, something went wrong!