#include<iostream>#include<cstdlib>#include<conio.h>#include<iomanip>using namespace std;int main(){ int F=1,C=1,cont=1,a=1,b=80,c=2,d=24,e=3; system("cls"); do{ for(F=a;F<=b;F++){ gotoxy(35,13); textcolor(GREEN); cout<<"< "<<setw(2)<<F<<" , "<<setw(2)<<C<<" >"; gotoxy(F,a); delay(30); textcolor(GREEN); cout<<"xb2"; } for(F=b,C=c;C<=d;C++){ gotoxy(35,13); textcolor(WHITE); cout<<"< "<<setw(2)<<F<<" , "<<setw(2)<<C<<" >"; gotoxy(b,C); delay(30); textcolor(WHITE); cout<<"xb2"; } for(C=d,F=b;F>c;F--){ gotoxy(35,13); textcolor(RED); cout<<"< "<<setw(2)<<F<<" , "<<setw(2)<<C<<" >"; gotoxy(F,d); delay(30); textcolor(RED); cout<<"xb2"; } for(C=d,F=c;C>=e;C--){ gotoxy(35,13); textcolor(WHITE); cout<<"< "<<setw(2)<<F<<" , "<<setw(2)<<C<<" >"; gotoxy(c,C); delay(30); textcolor(WHITE); cout<<"xb2"; } a+=2; b-=2; c+=2; d-=2; e+=2; cont++; }while(cont<=6); getch(); return 0;}