他很喜欢喝咖啡,每天早上喝咖啡,下午喝一杯以上的咖啡。如果工作时间长了,他就得再喝一杯咖啡。一个月后,他喝了很多咖啡。
“他非常喜欢喝茶,每天早上喝一杯茶,下午喝一杯以上的果汁。如果他要工作一段时间,他就得再喝一杯茶。一个月后,他喝了很多茶。”
function compare(message_1,message_2)
{
}如果是这样的表演效果就好了。
。。他非常喜欢喝咖啡,他总是在早上和下午喝咖啡给他们喝!果汁!!多一杯。如果他不得不长期工作,他必须再喝一杯咖啡。一年!他喝了很多咖啡。
谢谢
发布于 2017-09-19 10:57:37
var message = prompt("");
if(message == "coffee"){
alert("He like to drink a coffee very much, he always drink a coffee in the moring and in the afternoon for some they he drink coffee more one cup. If he have to work over time he have to drink a coffee again. In a month he drank coffee a lot cup.")
}else if(message == "tea"){
alert( "He like to drink a tea very much, he always drink a tea in the moring and in the afternoon for some they he drink juice more one cup. If he have to work over time he have to drink a tea again. In a month he drank tea a lot cup.")
}else{
alert('choose tea or coffee')
}
https://stackoverflow.com/questions/46297108
复制相似问题