You have a mistake in the algorithm description. Here you are:
i is equal to 0 while (the octal number is not 0) { the octal number = the decimal number + (remainder of the division of the octal number by 10) * 8 to the power of i the octal number = the octal number / 10 increase i by 1 }
It must be decimal number there.
Denys Slavynskyi
28 level
Mistake in the algorithm description.
Under discussion
Комментарии (2)
- популярные
- новые
- старые
Для того, чтобы оставить комментарий Вы должны sign in
Denys Slavynskyi
16 February 2023, 18:47
There is indeed no question. That's like a bug report
0
Михаил
16 February 2023, 09:27
Well, where is question?
0