📜  查找数字中的最大数字 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:03.835000             🧑  作者: Mango

代码示例1
int n, r, l = 0; //n=num, r= reminder , l= largest.
// this is the logic code only.
while (n>0)
{
r = n % 10;
if(l