1. carlos7000

    Spanish Uso de Mod

    Ya que no encontré un ejemplo claro del uso de Mod, dejo un pequeño ejemplo de su uso. Public Sub UsoDeMod(Numero As Int, Modulo As Int) As Boolean Dim Residuo As Int Residuo = (Numero Mod Modulo) If Residuo = 0 Then 'Si Valor es multiplo (Modulo) Return True...
  2. G

    Android Code Snippet Solving a system of linear equations using Gaussian Elimination

    Some will remember Tasks like this one from school: 2x + y = 7 x + 4y = 6 The following code will solve this, with 1..n unknown quantities, like x, y, z ... Sub gauss ' flowchart in '