👤

De scris un program care va afisa pe ecran:
****
******
******
****
****


Răspuns :

#include<iostream>
using namespace std;

int main()
{
cout<<"****"<<endl;
cout<<"******"<<endl;
cout<<"******"<<endl;
cout<<"****"<<endl;
cout<<"****"<<endl;
return 0;
}