/*#include <stdio.h>
int main()
{
int s, p, r, t;
scanf("%d %d", &s, &p);
for(r=1;r<=p;r=r+1)
{
for(t=1;t<=s;t=t+1)
{
if(r!=1 && r!=p && t!=1 && t!=s)
{
printf(" ");
}
else if(r!=1 && r!=p)
{
printf("|");
}
else if(t!=1 && t!=s)
{
printf("-");
}
else
{
printf("+");
}
}
printf("\n");
}
return 0;
}
*/
/*#include <stdio.h>
int main()
{
int s, p, r, t;
scanf("%d", &s);
for(p=1;p<=s;p=p+1)
{
for(r=s;r>p;r=r-1)
{
printf(" ");
}
printf("*");
for(r=p*2;r>2;r=r-1)
{
printf(" ");
}
printf("*");
printf("\n");
}
for(p=1;p<=s;p=p+1)
{
for(r=1;r<p;r=r+1)
{
printf(" ");
}
printf("*");
for(r=p*2;r<s*2;r=r+1)
{
printf(" ");
}
printf("*");
printf("\n");
}
return 0;
}
*/
/*#include <stdio.h>
int main()
{
int s, p, r, t;
scanf("%d", &s);
for(p=1;p<=s*2;p=p+1)
{
for(r=1;r<=s*2;r=r+1)
{
if(p+r-1==s || s+p==r || p-r==s || p+r==s*3+1)
{
printf("*");
}
else
{
printf(" ");
}
}
printf("\n");
}
return 0;
}
*/
/**
배열 (Array) : 데이터를 여러개 저장하는거
정수 변수 5개
int a, b, c, d, e;
정수 변수 500개
int a, b, c, d, e,,,,,, ; (x)
int a[500]; // a[0] a[1] a[2] a[3] .... a[499]
*/
/**
#include <stdio.h>
int main()
{
int arr[10]={}; // arr[0] ~arr[9]
int i;
for()
{
}
for(i=0;i<10;i++)
{
printf("%d ",arr[i]);
}
return 0;
}
*/
/*#include <stdio.h>
int main()
{
int s[6], p;
for(p=1;p<=5;p=p+1)
{
scanf("%d", &s[p]);
}
printf("%d %d %d %d %d", s[5], s[4], s[3], s[2], s[1]);
return 0;
}
*/
