Senin, 19 Maret 2018

program sederhana membuat biodata di C++

codinganya seperti dibawah ini :

#include <iostream>
#include <windows.h>
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {

cout<<"============================\n";
cout<<"DAFTAR RIWAYAT HIDUP \n";
cout<<"============================\n";
cout<<"\n\n";
cout<<"nama      : iqbal kurnia dama "<<endl;
cout<<"alamat    : jogja "<<endl;
cout<<"tgl lahir : 20 maret 1999"<<endl;
cout<<"pekerjaan : mahasiswa "<<endl;
cout<<"NO telfon : 085275265788 "<<endl;
cout<<"email     : kurnia99@gmail.com "<<endl;
cout<<"\n";
cout<<"============================\n";
cout<<"~TERIMA KASIH ~\n";
return 0;
}

outputnya seperti ini :










Tidak ada komentar:

Posting Komentar