/* 
NOTE: 24 is probably the max that this online compiler can
make this diamond actually diamond shape in case anyone
wanted to try to make a funny big diamond. There's not enough
space in the output to make the diamond any bigger lolz
*/

#include <iostream>

using namespace std;

int main()
{
   int n, s, i, j;
   
   cout << "Rows: ";
   cin >> n;
   
   for (i = 0; i <= n; i++)
   {
       for (s = n; s > i; s--)
        cout << " ";
        
       for (j = 0; j < i; j++)
        cout << "A ";
        cout << "\n";
   }
   
   for (i = 1; i < n; i++)
   {
       for (s = 0; s <i; s++)
          cout << " ";
       for (j = n; j > i; j--)
          cout << "Ɐ ";
       cout << "\n";
   }
   
   return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: