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...
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
' https://www.bragitoff.com/2015/10/gaussian-elimination-lab-write-up-with-algorithm-and-flowchart/...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.