‘ ΅Δέζ€Iyfor Άz
#include <stdio.h>
main() {
int i;
for ( i=1; i<5; i++ ) {
for ( i=1; i<=3; i++ ) {
for ( i=3; i>0; i-- ) {
for ( i=1; i<6; i+=2 ) {
/* Iπ */
printf("iΜlF%d\n", i);
}
return 0;
}
ΐsΚF
@
#include <stdio.h>
main() {
int i, s, n;
s = 0;
n = 2;
n = 3;
n = 4;
/* ½ίπIπ */
for ( i=1; i<=n; i++ ) {
s += i;
printf("i:%d s:%d\n", i, s);
}
return 0;
}
ΐsΚ:
@
All Rights Reserved, Copyright©@Yoshito Yamamoto 2004