Single inheritance C++ program to print hollow rhombus, parallelogram star pattern

Develop a C++ program to print a hollow rhombus star series pattern using for loop and single inheritance.
How to print hollow rhombus or parallelogram star pattern in C++ programming using Single inheritance in OOP. The Logic to print empty rhombus or parallelogram star pattern series in C++ programming using single inheritance.

Output

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.