‰๐“š—แ 6-2-1

y–โ‚Pz

#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;
}

y–โ‚Qz

#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;
}

y–โ‚Rz

#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;
}

ฅ–฿‚้ฅ


banner
u‰SŽา‚ฬ‚ฝ‚฿‚ฬƒ|ƒCƒ“ƒgŠwK‚bŒพŒ๊v
Copyrighticj 2000-2004 TOMOJI All Rights Reserved