123456789101112131415161718 |
- <div class="w3-item"><!-- img src="img/icn_?.png" title="icone code command " class="w3-icon"/ -->
-
- <h3>Function</h3>
- <p>
- 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.
- </p>
- <div class="main-img-div"> <img src="img/funcao.png" title="function structure"></div>
- <ol>
- <li> <b>Function type:</b> defines the return type of the function</li>
- <li> <b>Function name:</b> sets the function name.</li>
- <li> <b>Add parameter:</b> adds a new parameter to the function</li>
- <li> <b>Parameter type:</b> sets the name of the parameter.</li>
- <li> <b>Parameter name:</b> defines the parameter name</li>
- </ol>
- </div>
|