def f( x )
	a = x * x
	return a
end

10.times { |i|
	printf( "%dの二乗は%dです\n" , i+1 , f( i+1 ) )
}