代码搜索:QUIZ
找到约 743 项符合「QUIZ」的源代码
代码结果 743
www.eeworm.com/read/167987/9942602
quiz
#!/bin/ksh
# Script name: quiz
# Example 10.102
read answer?"Who was the U.S. President in 1992? "
while [[ $answer != "Bush" ]]
do
print "Wrong try again!"
read answer
done
print Good guess!
www.eeworm.com/read/167987/9942741
quiz
#!/bin/sh
# Script name: quiz
echo "Who was the chief defense lawyer in the OJ case?"
read answer
while [ "$answer" != "Johnny" ]
do
echo "Wrong try again!"
read answer
done
echo You got it!
www.eeworm.com/read/116739/14956343
quiz
#!/bin/ksh
# Script name: quiz
# Example 10.102
read answer?"Who was the U.S. President in 1992? "
while [[ $answer != "Bush" ]]
do
print "Wrong try again!"
read answer
done
print Good guess!
www.eeworm.com/read/116739/14956429
quiz
#!/bin/sh
# Script name: quiz
echo "Who was the chief defense lawyer in the OJ case?"
read answer
while [ "$answer" != "Johnny" ]
do
echo "Wrong try again!"
read answer
done
echo You got it!
www.eeworm.com/read/35675/1059642
quiz
#!/bin/bash
# Scriptname: quiz
echo "Who was the 2nd U.S. president to be impeached?"
read answer
while [[ "$answer" != "Bill Clinton" ]]
do
echo "Wrong try again!"
read answer
done
echo You
www.eeworm.com/read/35675/1059812
quiz
#!/bin/ksh
# Scriptname: quiz
read answer?"Who was the U.S. President in 1992? "
while [[ $answer != "Bush" ]]
do
print "Wrong try again!"
read answer
done
print Good guess!
www.eeworm.com/read/35675/1059866
quiz
#!/bin/sh
# Scriptname: quiz
echo "Who was the chief defense lawyer in the OJ case?"
read answer
while [ "$answer" != "Johnny" ]
do
echo "Wrong try again!"
read answer
done
echo You got it!
www.eeworm.com/read/239312/4602452
quiz
#!/bin/bash
# Scriptname: quiz
echo "Who was the 2nd U.S. president to be impeached?"
read answer
while [[ "$answer" != "Bill Clinton" ]]
do
echo "Wrong try again!"
read answer
done
echo You
www.eeworm.com/read/239312/4602571
quiz
#!/bin/ksh
# Scriptname: quiz
read answer?"Who was the U.S. President in 1992? "
while [[ $answer != "Bush" ]]
do
print "Wrong try again!"
read answer
done
print Good guess!
www.eeworm.com/read/239312/4602619
quiz
#!/bin/sh
# Scriptname: quiz
echo "Who was the chief defense lawyer in the OJ case?"
read answer
while [ "$answer" != "Johnny" ]
do
echo "Wrong try again!"
read answer
done
echo You got it!