until 循环用于执行一个循环体,直至条件为真时停止

使用until循环求1到100相加的和

i > 100条件为真,循环停止

 

posted @ 2019-03-29 15:39  小小小笨蛋  阅读(296)  评论(0编辑  收藏  举报