Source Code Biodata Cturbo / C++
berikut source codenya :
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
void main()
{
int tgl, bln, thn;
char namad[24],namab[24];
char alamat[45], kota[45], ttl[24];
cout<<" Nama depan : ";
cin>>namad;
cout<<" Nama bekalang : ";
cin>>namab;
cout<<" Alamat : ";
cin>>alamat;
cout<<" kota anda : ";
cin>>kota;
cout<<"tempat,tanggal lahir : ";
gets(ttl);
cout<<endl;
clrscr();
gotoxy(22,1);cout<<"-**|OUTPUT BIODATA|**-";
gotoxy(1,2);cout<<"--------------------------------------------"
<<"----------------";
gotoxy(1,3);cout<<"| Nama lengkap : "<<namad<<" "<<namab;
gotoxy(60,3);cout<<"|";
gotoxy(1,4);cout<<"| Alamat anda : "<<alamat;
gotoxy(60,4);cout<<"|";
gotoxy(1,5);cout<<"| kota anda : "<<kota;
gotoxy(60,5);cout<<"|";
gotoxy(1,6);cout<<"| tempat dan tanggal lahir anda : "<<ttl;
gotoxy(60,6);cout<<"|";
gotoxy(1,7);cout<<"--------------------------------------------"
<<"----------------";
getch();
}
jangan lupa klik like ya.... dan share jika artikel diatas bermanfaat untuk anda.
terima kasih sudah berkunjung
Thursday, 25 September 2014
Author: wardana
Etiam at libero iaculis, mollis justo non, blandit augue. Vestibulum sit amet sodales est, a lacinia ex. Suspendisse vel enim sagittis, volutpat sem eget, condimentum sem.
0 komentar: