x = 0 limit = 10; while x <= limit do y = x*x printf( "%2d : %3d\n" , x , y ) x += 1 end