Toggle navigation
Delta: Algorithms
Download
Documentation
Partners
Euclidian division
No notes were written for this algorithm.
Preview of this algorithm
Variable
Set q to 0
Variable
Ask for a with default 0
Variable
Ask for b with default 1
Structure
While a >= b
Variable
Set q to q+1
Variable
Set a to a-b
Structure
End
Variable
Set r to a
Output
Print variable q
Output
Print variable r