2016年10月8日

shell 实现闰年的判断

摘要: #!/bin/shecho "please input the year"read year let "n1=$year % 4"let "n2=$year % 100"let "n3=$year % 400" if [ "$n1" -ne 0 ]then let "flag=0"elif [ "$ 阅读全文

posted @ 2016-10-08 10:50 猫儿爹 阅读(1653) 评论(0) 推荐(0) 编辑

导航