(资料图)
1、read -p "Please input season " seasonif [ "$season" = "spring" ] ; then echo "It is spring"elif [ "$season" = "summer" ] ; thenecho "It is summer"elif [ "$season" = "autumn" ] ; thenecho "It is autumn"elif [ "$season" = "winter" ] ; thenecho "It is winter"elseecho "Input error"fi。
本文到此分享完毕,希望对大家有所帮助。
免责声明:本文由用户上传,如有侵权请联系删除!