C++ Program to Print Heart Star Pattern

Write a C++ program to print heart star pattern.


 
 

Wan’t to impress another geek friend on some special occasion. Here’s code to print heart shape –

 

Download   Run Code

 

Output:
Heart star pattern

 
We can also modify above code to print heart pattern with desired text inside.

 

Download   Run Code

 

Output:
print heart star pattern

 
Thanks for reading.




Please use ideone or C++ Shell or any other online compiler link to post code in comments.
Like us? Please spread the word and help us grow. Happy coding 🙂
 





Leave a Reply

Notify of
avatar
wpDiscuz