--代码从这一行开始
答:想一个计划::
B: James Requenez的思考::
第一杯是“你好世界”::
第二杯是“你是哪一年出生的?”:
E:第三杯是“输入第一值”:
F:第四杯是“输入第二个价值”::
第五杯是“两杯”
H:第六杯是:
一::
J:嗅五::
K:闻一口唾沫one:>
L:跳跃Z::
M:闻一闻“两”唾沫two:>
N: SIP apple:>
O:吐口水吧,现在切苹果缝“老”:>
P:跳跃Y::
问:闻闻“三”唾沫three:>
R: SIP banana:>
S:唾沫four:>
T: SIP carrot:>
U:吐痰嚼香蕉缝制carrot:>
V:跳跃Z::
W:闻闻“四”唾沫four:>
X:喝代基利::
Y:吐出“谢谢”::
Z:吐出“再见”::
:
发布于 2015-07-02 19:04:18
这是我的猜测:
the program prints "What year were you born?"
then reads the value in variable apple
then prints (current year - apple) "year old"
then prints "thank you"
then prints "bye"
and terminates语法错误位于G行(缺少::行尾)
逻辑错误是W行(写“输入第二个值”而没有写“输入第一个值”)。
以下是命令:
思考-评论
杯x是y-将x绑定到y
嗅探箱
气味-一例试验
跳跳
从输入流读取到变量x
X片y- (x - y)
咀嚼x缝制y-x=y
https://stackoverflow.com/questions/31192356
复制相似问题