How to make heart with name in C++

How to make heart with your name using C++ Solution: #include <stdio.h> #include <string.h> #include <iostream> using namespace std; int main() { char name[50]; int len; int i, j, n; cout<<"Enter your name:"; gets(name); cout<<"Enter value of n : "; cin>>n; len = strlen(name); for(i=n/2; i<=n; i+=2) { for(j=1; j<n-i; j+=2) { cout<<" "; } for(j=1; j<=i; j++) { cout<<"*"; } for(j=1; j<=n-i; j++) ...