Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
Luiz Thiago Silva DESENVOLVIMENTO DE UM ... - Ginux
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Figura 7: Módulo struct<br />
4.4 Definição de Funções<br />
Funções são os blocos de construção de C e o local onde toda a<br />
atividade do programa ocorre. Elas representam uma das características<br />
mais importantes da linguagem. (SCHILDT, 1996).<br />
Forma geral:<br />
tipo nome_da_função () {<br />
<br />
}<br />
Exemplo:<br />
float media(int a,int b){<br />
float calc;<br />
27