All public logs
From Applied Science
Combined display of all available logs of Applied Science. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 11:26, 19 April 2022 0kelvin talk contribs created page Functions that return a struct (Created page with "* '''Function that returns both roots of a second degree polynomial equation:''' <div class="code"> <span class="codecomment">Struct to store two values: </span><br /> struct roots { float x1, x2; }; <span class="codecomment">Function that receives the coefficients a, b and c and returns the roots of the second degree polynomial (it doesn't cover the case of a negative delta): </span><br /> Quadratic (int a, int b, int c) {<div style="margin-left:1.5em;"> struct...")