寒假【perl语言学习脚本】10.1 10.2 10.3

#!/usr/bin/perl -w my $secret_num = int(1 + rand 100); print “Don’t tell anyone, but the secret number is $secret_num.\n”; while(1) {#无限的while循环 print “Please enter a guess from 1 to 100:\n”; chomp(my
相关文章
相关标签/搜索