‰๐“š—แ 6-2-2

y–โ‚Pz

#include <stdio.h>

int main( void )
{
	int i, n;

	for ( n = 0; n < 10; n++ ) {
		for ( i = 0; i <= n; i++ ) {
			printf( "*" );
		}
		printf( "\n" );
	}
	return 0;
}

y–โ‚Qz

#include <stdio.h>

int main( void )
{
	int i, n;

	for ( n = 0; n < 10; n++ ) {
		for ( i = 0; i <= n; i++ ) {
			printf( "%d", i );
		}
		printf( "\n" );
	}
	return 0;
}

y–โ‚Rz

#include <stdio.h>

int main( void )
{
	int i, x, y;

/*** ƒ^ƒCƒgƒ‹•\Žฆ ***/
	printf( "\n   * * * ‹ใ‹ใ‚ฬ•\ * * *\n" );
	printf( "   |" );
	for ( i = 1; i <= 9; i++ ) {		  /* ใ•”‚ฬ”Žš•\Žฆ */
		printf( "%3d", i );
	}

	printf( "\n--------------------------------\n" );

/*** ‹ใ‹ใ‚ฬ•\Žฆ ***/
	for ( x = 1; x <= 9; x++ ) {
		printf( "%d  |", x );	           /* ถ‚ฬ”Žš•\Žฆ */
		for ( y = 1; y <= 9; y++ ) {
			printf( "%3d", x * y );      /* ‹ใ‹ใ‚ฬ•\Žฆ */
		}
		printf( "\n" );
	}
	return 0;
}

ฅ–฿‚้ฅ


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