**5.38(十进制转换为八进制)编写程序,提示用户输入一个十进制整数,然后显示对应的八进制值。在这个程序中不要使用Java的Integer.toOctalString(int)方法。 **5.38(Decimal to octal) Write a program that prompts the user to enter a decimal integer and displays its corresponding octal value. Don’t use Java’s Integer.toOctalString(int) in this program.
第五章第三十八题(十进制转换八进制)(Decimal to octal)**5.38(十进制转换为八进制)编写程序,提示用户输入一个十进制整数,然后显示对应的八进制值。在这个程序中不要使用Java的Integer.toOctalString(int)方法。**5.38(Decimal to octal) Write a program that prompts the user to enter a decimal integer and displays its corresponding octa