#include stdio.h// C语言for循环 int main () {int a;/* for loop execution */for( a = 10; a 20; a = a + 1 ){
编程学习网为您整理以下代码实例,主要实现:C语言for循环,希望可以帮到各位朋友。
#include <stdio.h>
// C语言for循环
int main () {
int a;
/* for loop execution */
for( a = 10; a < 20; a = a + 1 ){
printf("value of a: %d\n", a);
}
return 0;
}