标签:
while(条件表达式){循环体}
#include <stdio.h>
int main(){ int i=1,sum=0; while(i<6) { sum=sum+i*3; i++; } printf("苹果的总数是:%d",sum); return 0; }
fenby C语言 P15
原文地址:http://www.cnblogs.com/amiaojiang/p/4504053.html