当我运行以下代码时,它并没有给我任何输出。它打印Flag颜色(完成结束)?不确定我错过了什么。任何帮助表示赞赏。谢谢
grunt serve
答案 0 :(得分:0)
该程序希望您输入一种或多种颜色。如果已指定所有颜色,请在提示符下输入done。然后打印出包含这些颜色的标志的国家/地区的名称。
CLIPS> (reset)
CLIPS> (run)
Flag color (done to end)?red
Flag color (done to end)?done
Italy 's flag contains the specified colors.
Columbia 's flag contains the specified colors.
Panama 's flag contains the specified colors.
Monaco 's flag contains the specified colors.
Poland 's flag contains the specified colors.
Belgium 's flag contains the specified colors.
USA 's flag contains the specified colors.
CLIPS> (reset)
CLIPS> (run)
Flag color (done to end)?red
Flag color (done to end)?white
Flag color (done to end)?done
Italy 's flag contains the specified colors.
Panama 's flag contains the specified colors.
Monaco 's flag contains the specified colors.
Poland 's flag contains the specified colors.
USA 's flag contains the specified colors.
CLIPS> (reset)
CLIPS> (run)
Flag color (done to end)?red
Flag color (done to end)?white
Flag color (done to end)?blue
Flag color (done to end)?done
Panama 's flag contains the specified colors.
USA 's flag contains the specified colors.
CLIPS>