#include "stdio.h"
void main()
{ int i,j,n,k,mark=0;
puts("input a number between 1 to 20 :");
scanf("%d",&n);
while(mark!=1)
{
if(n=20 )
{ printf("error,please input a right num:");
}
if(n=1)
mark=1 ;
for(i=1;i
for(k=1;k
printf(" ");
for (j=1;j
printf("+ ");
printf("\n");
for(j=1;j
#include "stdio.h"
void main()
{ int i,j,n,k,mark=0;
puts("input a number between 1 to 20 :");
scanf("%d",&n);
while(mark!=1)
{
if(n=20 )
{ printf("error,please input a right num:");
scanf("%d",&n);
}
if(n=1)
mark=1 ;
}
for(i=1;i
{
for(k=1;k
printf(" ");
for (j=1;j
printf("+ ");
printf("\n");
}
for(i=1;i
{
for(j=1;j
printf(" ");
for(k=1;k
printf("+ ");
printf("\n");
}
}