#!/bin/bashsum=0;i=0;while ((i <= 200));do ((sum = sum + i)); ((i = i + 3));done;echo $sum;
一楼的思路很是奇特,赞一个