Код: Выделить всё
#include
using namespace std;
int main(){
int tr;
cin >> tr;
//first row
int firststar = 1;
while (firststar
Подробнее здесь: [url]https://stackoverflow.com/questions/77125879/hollow-diamond-pattern-in-cpp[/url]Код: Выделить всё
#include
using namespace std;
int main(){
int tr;
cin >> tr;
//first row
int firststar = 1;
while (firststar
Подробнее здесь: [url]https://stackoverflow.com/questions/77125879/hollow-diamond-pattern-in-cpp[/url]