menu_fc_funcao.html 743 B

123456789101112131415161718
  1. <div class="w3-item"><!-- img src="img/icn_?.png" title="icone code command " class="w3-icon"/ -->
  2. <h3>Function</h3>
  3. <p>
  4. A function is used to modularize a program. In this way, we can divide a program into several parts. Each function performs a defined task in its structure.
  5. </p>
  6. <div class="main-img-div"> <img src="img/funcao.png" title="function structure"></div>
  7. <ol>
  8. <li> <b>Function type:</b> defines the return type of the function</li>
  9. <li> <b>Function name:</b> sets the function name.</li>
  10. <li> <b>Add parameter:</b> adds a new parameter to the function</li>
  11. <li> <b>Parameter type:</b> sets the name of the parameter.</li>
  12. <li> <b>Parameter name:</b> defines the parameter name</li>
  13. </ol>
  14. </div>