#include<conio.h>
#include<stdio.h>
#include<windows.h>
void gotoxy(int x, int y) { COORD Pos = {x, y}; SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Pos);}
int main()
{
int x;
printf("1에서2만입력해주세요");
printf("\n");
printf("\n");
printf(" \n");
scanf("%d",&x);
if(x==1||x==2){
printf(" ┌┐");
while(100)
{
Sleep(1000);
gotoxy(0,4);
printf(" ");
gotoxy(0,1);
printf(" ┌┐");
Sleep(1000);
gotoxy(0,1);
printf(" ");
gotoxy(0,4);
printf(" ┌┐ ");
}
return 0;
}
while(1){
}
}