int _tmain(int argc, _TCHAR* argv[]) { for(int i = 0; i < 7; i++){ string Display; cout << i << "*"; do{ } while(true); } return 0; } if you're meant to have a dynamic "diamond" you want the maximum number as your input, save that number as an integer. then solve the number of lines necessary to reach that number so your…
i'm trying to write a code that will create a diamond * *** ***** *** * EDIT: the * should all be aligned in the center but it didn't come out that way. like this diamond here, using loops. i am extremely terrible with loops and arrays. So forgive me for asking this dumb question but ... int _tmain(int argc, _TCHAR*…