实现进制转化伪代码

实现进制转化伪代码

伪代码

Write "Enter the new base"
Read newBase
Write "Enter the number to be converted"
Read decimalNumber
Set quotient to 1
WHILE (quotient is not zero)
Set quotient to decimalNumber DIV newBase
Set remainder to decimalNumber REM newBase
Make the remainder the next digit to the left in the answer
Set decimalNumber to quotient
Write "The answer is "
Write answer

用Python实现进制转化

实现进制转化伪代码
实现进制转化伪代码
实现进制转化伪代码
实现进制转化伪代码

上一篇:MySQL触发器基本介绍


下一篇:MySQL 触发器结构及三个案例demo