25.03.2015 Views

Lista 02 - DCC/UFMG

Lista 02 - DCC/UFMG

Lista 02 - DCC/UFMG

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.

8) Escreva um algoritmo em PORTUGOL que leia um número e informe se ele é ou não<br />

divisível por 5.<br />

algoritmo L2P08;<br />

var<br />

inteiro: NUM, RESTO;<br />

início<br />

leia(NUM);<br />

RESTO

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

Saved successfully!

Ooh no, something went wrong!