Recursive translation: number in octal number system
Problem
Write a recursive procedure that converts a number from decimal to octal.
Input:
The input to the program is the number N (N<=1024) - a number in the 10 number system
Output:
Display one number on the screen - a number in the octal number system
Example:
Input:
66
Output:
102
Запрещенные операторы: for;while;until