#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
int n;
while(cin>>n){
for(int i=0;i<n;i++){
int x = i;
for(int j=0;j<n;j++){
cout<<x++%10<<" ";
}
puts("");
}
}
return 0;
}
Subscribe to:
Post Comments (Atom)
All rights reserved||Using Deluxe Template By Klodian
No comments:
Post a Comment