bottles_of_beer

时间:2024-06-10 13:46:08
【文件属性】:

文件名称:bottles_of_beer

文件大小:2KB

文件格式:ZIP

更新时间:2024-06-10 13:46:08

JavaScript

99瓶啤酒练习 // test3-工作正常! var bottle =“ bottles”; for(counter = 99; counter> = 1; counter = counter-1){if((counter <= 99){console.log(counter +“” + bottles +“啤酒在墙上,” + counter +“” + bottles +“啤酒。”); console.log(“放下一个,然后传给它,” +(counter-1)+“” +瓶+“ +” +“墙上的啤酒。”); } if (counter == 1) { console.log("No more bottles of beer on the wall. Go to the nearest beer store to stock up!"); } } // test3使用单数/复


【文件预览】:
bottles_of_beer-master
----index.html(175B)
----main.js(6KB)
----.gitignore(0B)
----readme.md(1KB)

网友评论