#include <stdio.h>
#include <conio.h>
main()
{
      int i,j,k,l,m,n;
       printf("Put in n nober of sqeur: ");
      scanf("%d",&n);

      printf("Whit wich nomber do you wanna start your squer?: ");
      scanf("%d",&m);

      for(j=m;j<=n+1;j++)
      {
          for(k=j;k<=n;k++)
           {
               printf(" %d",k);

           }
          for(l=1;l<j;l++)
           {
               printf(" %d",l);
           }                
          printf("n");                  

          }
      getch();
}

Editor's note: moved to the appropriate forum

Is there a question or problem with your code? Why did you post it???

And your question is?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.