Write a program to print a symmetric star pattern with exactly 10 rows as specified. The pattern has stars and leading spaces arranged such that the number of stars per row from top to bottom is: 1, 3, 5, 7, 9, 9, 7, 5, 3, 1. The corresponding leading spaces for each row are: 8, 7, 6, 5, 4, 4, 5, 6, 7, 8. The output must match the pattern exactly without any additional characters or deviations.
Input: None
Output:
*
***
*****
*******
*********
*********
*******
*****
***
*
Input: None
Output:
*
***
*****
*******
*********
*********
*******
*****
***
*
Input: None
Output:
*
***
*****
*******
*********
*********
*******
*****
***
*
Your notes are automatically saved in your browser's local storage and will persist across sessions on this device.