#include <stdio.h> int main () { /* while 原型: while (0和1的表达式) { 若干代码 } */ int a = 0; while (a < 5) { printf("a的值为%d\n", a++); } return 0; }