以下程序的输出结果是( )。
#include<stdio.h> void main( ) { int i, s = 0; for(i = 1; i <= 6; i++) { s += i; if(i == 4) break; } printf("%d\n", s); }
Copyright ©