---
# System prepended metadata

title: Untitled

---

#include <bits/stdc++.h>
using namespace std;

int main() {
    string name1, name2;
    int age1, age2;
    double x = rand()%100 + 50;
    char heart = 3;
    cout << "Selamat Datang Di Program Ramalan Cupu";
    cout << "\n+++++++++++++++++++++++++++++++++++++++\n";
    cout << "\nData Anda :\n";
    for(int i=0; i<12; i++) {
        cout << heart;
    }
    cout << "\nMasukkan Nama Anda : ";
    getline(cin >> ws, name1);
    cout << "Masukkan Umur Anda : ";
    cin >> age1;
    cout << "\n\nData Pasangan Anda :\n";
    for(int i=0; i<21; i++) {
        cout << heart;
    }
    cout << "\nMasukkan Nama Pasangan Anda : ";
    getline(cin >> ws, name2);
    cout << "Masukkan Umur Pasangan Anda : ";
    cin >> age2;
    cout << "\n\n" << name1 << " [" << age1 << "] " << "tahun\n\n";
    for(int i=7/2; i<=7; i+=2) {
        for (int j=1; j<7-i; j+=2) cout << " ";
        for (int j=1; j<=i; j++) cout << heart;
        for (int j=1; j<=7-i; j++) cout << " ";
        for (int j=1; j<=i; j++) cout << heart;
        cout << endl;
    }
    for (int i=7; i>=0; i--) {
        for (int j=i; j<7; j++) cout << " ";
        for (int j=1; j<=((i*2)-1); j++) cout << heart;
        cout << endl;
    }
    cout << "\n" << name2 << " [" << age2 << "] " << "tahun\n";
    cout << "\nTekan ENTER untuk melihat hasil ramalan...\n";
    cout << "Kecocokan anda dengan pasangan anda adalah : " << 
}
