代码搜索:answer
找到约 6,541 项符合「answer」的源代码
代码结果 6,541
www.eeworm.com/read/283196/9036590
my_name
#!/bin/sh
yes_or_no() {
echo "Is your name $* ?"
while true
do
echo -n "Enter yes or no: "
read x
case "$x" in
y | yes ) return 0;;
n | no ) return 1;;
* )
www.eeworm.com/read/283196/9036605
case3
#!/bin/sh
echo "Is it morning? Please answer yes or no"
read timeofday
case "$timeofday" in
yes | y | Yes | YES )
echo "Good Morning"
echo "Up bright and early this mornin
www.eeworm.com/read/283196/9036620
case2
#!/bin/sh
echo "Is it morning? Please answer yes or no"
read timeofday
case "$timeofday" in
yes | y | Yes | YES ) echo "Good Morning";;
n* | N* ) echo "Good Afternoon";;
www.eeworm.com/read/283196/9036624
case1
#!/bin/sh
echo "Is it morning? Please answer yes or no"
read timeofday
case "$timeofday" in
"yes") echo "Good Morning";;
"no" ) echo "Good Afternoon";;
"y" ) echo "Good Morning";;
www.eeworm.com/read/283196/9036626
_if
#!/bin/sh
echo "Is it morning? Please answer yes or no"
read timeofday
if [ $timeofday = "yes" ]; then
echo "Good morning"
else
echo "Good afternoon"
fi
exit 0
www.eeworm.com/read/185294/9044425
htm s04_16.htm
使用break控制循环
var x,y,result,answer
while(true)
{
x = Math.floor(Math.random() *90)+10;
y = Math.floor(Math.random() *90)+10;
r
www.eeworm.com/read/185294/9044561
htm s04_10.htm
switch语句
var answer;
answer = prompt("中国的首都在哪个城市?\nA.香港\tB.广州\tC.北京\tD.上海","E");
switch(answer)
{
case "a":
case "A":
alert("错!香港是中国
www.eeworm.com/read/184794/9075101
cpp 建立文本.cpp
#include"head.h"
////////////////////////////////////////////////建立文本///////////////////////////////////////
void operate::CreateTxt()
{fstream f("consumer.dat",ios::binary|ios::in|ios::out);
in
www.eeworm.com/read/381206/9104986
frm frmclean.frm
VERSION 5.00
Begin VB.Form frmclean
Caption = "数据清理"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic