/*
#include <stdio.h>
int main()
{
int i,a,b,sum=0;
scanf("%d %d",&a,&b);
for(i=a;i<=b;i++)
{
if(i%2==0)
{
printf("-%d",i);
sum=sum-i;
}
else
{
printf("+%d",i);
sum=sum+i;
}
}
printf("=%d",sum);
}
조건문
if-else
switch-case
반복문
for
while
do-while
#include <stdio.h>
int main()
{
int n;
scanf("%d",&n);
while(n>10)
{
printf("%d ",n);
n++;
}
do
{
printf("%d",n);
n--;
}while(n>0);
return 0;
}
*/
/*
#include <stdio.h>
int main()
{
int n;
scanf("%d",&n);
while(n!=0)
{
printf("%d\n",n);
n--;
}
}
*/
/*
#include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
while(n!=0)
{
n--;
printf("%d\n", n);
}
}
*/
/*
#include <stdio.h>
int main()
{
int i,n;
scanf("%d",&n);
i=0;
while(i<=n)
{
printf("%d\n",i);
i++;
}
}
*/
/*
#include <stdio.h>
int main()
{
int n,k,t,i;
scanf("%d",&n);
for(i=1;i<=n;i++)
{
if((n>=i*i)&&(n<(i+1)*(i+1))){
k=n-i*i;
t=i;
break;
}
}
printf("%d %d",k,t);
}
*/
/*
#include <stdio.h>
int main()
{
int n,c=0;
scanf("%d",&n);
while(n!=0)
{
n=n/10;
c=c+1;
}
printf("%d",c);
}
*/