Membuat Program Menyatakan Cinta Dengan C++
program menyatakan cinta yang saya buat ini sangat cocok untuk agan yang sedang jatuh cinta sama doi, tapi gak berani. Konsol ini dibuat secara manual dengan memasukkan lambang bintang (*).
Untuk hasil dalam berformat .exe dapat didownload Disini
hasilnya akan terlihat seperti gambar dibawah ini:
apabila pilihannya iya, akan terlihat seperti dibawah ini
Untuk hasil dalam berformat .exe dapat didownload Disini
buat agan yang ingin mencobanya, langsung aja jalankan script dibawah ini.
#pragma hdrstop
#pragma argsused
#include <tchar.h>
#include <stdio.h>
#include <iostream.h>
#include <conio.h>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int X;
cout << "NAMA : ABID FAKHRI MAULANA\nKELAS : X-RPL\n";
cout << "CONSOLE PENEMBAK WANITA\n\n APAKAH KAU MENCINTAIKU\n\n1.IYA\n2.TIDAK\n";
printf("\nMASUKAN KODE = ");scanf("%d",&X);
switch(X)
{
case 1 :
cout << "\n\n";
cout << " ***** ******* ******* ***** ***** \n";
cout << " ***** ********* ********* ***** ***** \n";
cout << " *** *********** *********** *** *** \n";
cout << " *** ************ ************ *** *** \n";
cout << " *** *********************** *** *** \n";
cout << " *** ********************* *** *** \n";
cout << " *** ******************* *** *** \n";
cout << " *** ***************** *** *** \n";
cout << " *** *************** *** *** \n";
cout << " *** ************* *** *** \n";
cout << " *** *********** *** *** \n";
cout << " *** ********* *** *** \n";
cout << " *** ******* *** *** \n";
cout << " *** ***** ***** ***** \n";
cout << " ***** *** ****** ****** \n";
cout << " ***** * ***************** \n";
break;
case 2:
cout << "\n\n";
cout << " ******* ******* ******* ******* \n";
cout << " ********* ********* ********* ********* \n";
cout << " *********** *********** *********** *********** \n";
cout << " ************ ************ *** *** *** *** \n";
cout << " *********** *********** ** ** ** ** \n";
cout << " *********** ********* * \n";
cout << " *********** ******* *** \n";
cout << " *********** ***** *** \n";
cout << " ********* ***** \n";
cout << " ****** ****** ****************** \n";
cout << " ***** ***** ********************** \n";
cout << " *** ***** **** **** \n";
cout << " *** *** **** **** \n";
cout << " *** * **** **** \n";
cout << " * * *** *** \n";
cout << " \n";
break;
}
getch();
return 0;
}
#pragma argsused
#include <tchar.h>
#include <stdio.h>
#include <iostream.h>
#include <conio.h>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
int X;
cout << "NAMA : ABID FAKHRI MAULANA\nKELAS : X-RPL\n";
cout << "CONSOLE PENEMBAK WANITA\n\n APAKAH KAU MENCINTAIKU\n\n1.IYA\n2.TIDAK\n";
printf("\nMASUKAN KODE = ");scanf("%d",&X);
switch(X)
{
case 1 :
cout << "\n\n";
cout << " ***** ******* ******* ***** ***** \n";
cout << " ***** ********* ********* ***** ***** \n";
cout << " *** *********** *********** *** *** \n";
cout << " *** ************ ************ *** *** \n";
cout << " *** *********************** *** *** \n";
cout << " *** ********************* *** *** \n";
cout << " *** ******************* *** *** \n";
cout << " *** ***************** *** *** \n";
cout << " *** *************** *** *** \n";
cout << " *** ************* *** *** \n";
cout << " *** *********** *** *** \n";
cout << " *** ********* *** *** \n";
cout << " *** ******* *** *** \n";
cout << " *** ***** ***** ***** \n";
cout << " ***** *** ****** ****** \n";
cout << " ***** * ***************** \n";
break;
case 2:
cout << "\n\n";
cout << " ******* ******* ******* ******* \n";
cout << " ********* ********* ********* ********* \n";
cout << " *********** *********** *********** *********** \n";
cout << " ************ ************ *** *** *** *** \n";
cout << " *********** *********** ** ** ** ** \n";
cout << " *********** ********* * \n";
cout << " *********** ******* *** \n";
cout << " *********** ***** *** \n";
cout << " ********* ***** \n";
cout << " ****** ****** ****************** \n";
cout << " ***** ***** ********************** \n";
cout << " *** ***** **** **** \n";
cout << " *** *** **** **** \n";
cout << " *** * **** **** \n";
cout << " * * *** *** \n";
cout << " \n";
break;
}
getch();
return 0;
}
hasilnya akan terlihat seperti gambar dibawah ini:
apabila pilihannya iya, akan terlihat seperti dibawah ini
apabila pilihannya tidak, akan terlihat seperti dibawah ini
semoga cinta agan diterima oleh doi yaa... :D
sekian dan terima kasih.
keyword:
cara nembak cewek dengan program
0 Response to "Membuat Program Menyatakan Cinta Dengan C++"
Post a Comment