#include <stdio.h> int main( void ) { int wa = 0; int i; for ( i = 1; i <= 100; i++ ) { wa = wa + i; } printf( "a = %d\n", wa ); return 0; }
#include <stdio.h> int main( void ) { int a[5], i; printf( "a[]=" ); for ( i = 0; i < 5; i++ ) { a[i] = i * 2; printf( " %d", a[i] ); } printf( "\n" ); return 0; }
#include <stdio.h> int main( void ) { int i, amari; for ( i = 100; i >= 1; i-- ) { amari = 100 % i; if ( amari == 0 ) { printf( "100อ%dลุ่๊้\n", i ); } } return 0; }
ฅ฿้ฅ
uSาฬฝ฿ฬ|CgwKbพ๊v Copyrighticj 2000-2004 TOMOJI All Rights Reserved