2019-10-11 14:44:13 +03:00
|
|
|
## Summary 1 (#8)
|
2019-10-10 17:37:55 +03:00
|
|
|
|
2020-04-28 23:39:10 +03:00
|
|
|
Reverse the digits in a decimal number using a `while` loop. An auxiliary
|
|
|
|
`var worker` will help you iteratively produce the `result`:
|
2019-10-21 15:07:02 +03:00
|
|
|
|
|
|
|
| Worker | Result |
|
|
|
|
|------------|--------|
|
|
|
|
| 1234 | 0 |
|
|
|
|
| 123 | 4 |
|
|
|
|
| 12 | 43 |
|
|
|
|
| 1 | 432 |
|
|
|
|
| 0 | 4321 |
|