C语言 循环中求最小值do{ a=i%10;large = (large>a)?large :a;small = (small

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 12:40:26
C语言 循环中求最小值do{ a=i%10;large = (large>a)?large :a;small = (small
x)s~~ Oz޷Ɏ66=tCӆ=) 9E `]=D*Ѻ871'$f$7"%LXGIΆV>jy1nIfd .kz6oP:yk 2z:^ ?R 6YWSv>`bT ҳ/.H̳y*Q

C语言 循环中求最小值do{ a=i%10;large = (large>a)?large :a;small = (small
C语言 循环中求最小值
do
{ a=i%10;
large = (large>a)?large :a;
small = (small

C语言 循环中求最小值do{ a=i%10;large = (large>a)?large :a;small = (small
small的初始值是多少 ?如果是0的话,0本身就是最小的.所以最终是0
把small的初始值改成9试试.