?
#include <iostream>
using namespace std;
int main()
{
for (int i = 0; i < 10; i++)
{
for (int j = 0; j < 10; j++)
{
if (i == 0 || i == 9 || j == 0 || j == 9)
{
cout << "*";
}
else
{
cout << " ";
}
}
cout << endl;
}
return 0;
}