#include #include #include using namespace std; int fig (int n); void gotoxy (int x,int y); void clrscr() { system("CLS"); } int main (void) { int c,n; cout<<"enter no of fig : "; cin>>c; cout<<"enter size = "; cin>>n; clrscr(); if(c==1) { for(int j=0;j<=3;j++) { gotoxy(j,0); cout<< fig(n); Sleep(1000); clrscr(); } } if(c==2) { int m,l; for(m=0;m<=3;m++) { for(l=0;l<=m;l++) { if(l==m) { gotoxy(m,l); cout<