Matur Nuwun Sampun Mampir Mugi-Mugi Saget Dados Ilmu Ingkang Manfaat Fiddunya Wal Akherat

Jumat, 02 Juli 2010

Cetak Data Mahasiswa

Pada pembahasan kali ini kita akan mencoba membuat untuk input dan mencetak data sejumlah mahasiswa, Ini adalah contoh source code yang dapat dipelajari.

#include
#include

struct data{
char nama[30], alamat[30];
int thn_msk, kd_jur, no;
};

void main()
{data mhs[40];
int n;

cout<<"Masukkan Jumlah Mahasiswa : "; cin>>n;

for(int i=0;i<<<"Masukkan Data Mahasiswa Yang Ke-"<<<<"Nama : "; cin>>mhs[i].nama;
cout<<"Alamat : "; cin>>mhs[i].alamat;
cout<<"Tahun Masuk : "; cin>>mhs[i].thn_msk;
cout<<"Kode Jurusan : "; cin>>mhs[i].kd_jur;
cout<<"No Urut : "; cin>>mhs[i].no;
}

for(int i=0;i
{
cout<<<"Data Mahasiswa Yang Ke-"<<
cout<<"Nama : "; cout<<
cout<<"Alamat : "; cout<<
cout<<"No. Reg. : "; cout<<<<
cout<<"No. Urut : ";cout<<

}

getch();
}

Selamat mencoba semoga dapat bermanfaat ^.^

Top Religi

Astaghfirullah (Istighfar).mp3
Bila Waktu Tlah Berakhir.mp3
Hadad Alwi- Asmaul Husna.mp3
Hadad Alwi - Rahmat Al'Qur'an.mp3
Hadad Alwi - Doaku.mp3
Haddad Alwi feat Ebith Beat A - Rindu Muhammad Ku.mp3
I 'tiraf.mp3
Ya Nabi Salam 'Alaika.mp3

Video

Kebaikan orang tua.mp4

Dangdut

Dangdut

Vita - Alun2 Nganjuk.mp3


Campur sari

Sri Redjeki - 11. Watu Cilik.mp3

Tinggalkan Pesan

Get cash from your website. Sign up as affiliate.Join 4Shared Now! affiliate program

EARN CASH FROM YOUR SITE

Turn your valuable site visitors into income. Work online and join our free money making partner program. We offer the most commission rate to help maximize your income stream.

Join our money making program absolutely no charge and 100% risk free.

Sign Up...

Mountain a constant stream of money

Our money making system helps you to establish a constant stream of cash, 24 hours a day, 7 days a week, 365 days a year. Allowing you more time to focus on the things you love. You'll even receive money while you sleep!

Start receiving steady affiliate revenue

This money earn program really can make you profit on the same day. Start collecting serious partner income with almost no effort at all. This is a serious revenue opportunity, the first step for you to build a steady, reliable, long-time profitable business.

A constant money generator

Imagine running of a something that never failed to provide you with income-flow. A earning money program so amazingly profitable that you never had to work for a boss ever again!

Lotta Rewards Lotta Rewards