Temple Pattern
If you want to display something like given below then you have to run this program on mobile device using any C++ compiler because computer will not support some emoji's like heart and key.
But if you want to run on computer then 'no problem'..... just replace those question mark's with another special symbol...
How To Run
1.You have to copy the below code and paste it on your IDE.
2. Save your file with extension name CPP . e.g. - Temple.cpp
3. First compile your source code and then run it.
4. You will get a proper output.
Source Code -
In the upper program first I had included the header file's and then in under the main function I had used some for loop statements and if else statements....
Output
This is a mobile generated output... But computer generated output will look something different...