11-27-2022, 08:42 PM
Here it is without a new function:
Code: (Select All)
DefInt A-Z
n = 5
For i = 10 To -10 Step -1
If i < 0 Then
copy = i
While copy < 0
copy = copy + n
Wend
Print copy Mod n
Else
Print i Mod n
End If
Next
b = b + ...