Skip to main content

Posts

Showing posts with the label Borland

Contoh Struktur, Fungsi, Array, Seleksi Kondisi BORLAND C++

1001carakita.blogspot.com,  Buat kalian yang bingung mencari materi ujian BORLAND C++ tentang STRUCTURE, FUNGSI, ARRAY, dan SELEKSI KONDISI.   Semoga Bermanfaat . . . . CONTOH CODING STRUKTUR, FUNGSI, ARRAY, dan SELEKSI KONDISI #include <stdio.h> #include <conio.h> #include <iostream.h> #include <iomanip.h> char ket(float n) judul() { cout<<”\t\t\t PENITIPAN HEWAN PELIHARAAN “<<endl; cout<<”\t\t\t          LIES PET   “<<endl; cout<<”=========================================”<<endl; } garis() { cout<<”=========================================”<<endl; } long totalsub(long hrg,long jh) { return(hrg*jh); } long bayartotal(long ttlbyr,long sbttl) { return(ttlbyr+sbttl); } long kembali(long ubyr,long tbyr) { return(ubyr-tbyr); } main() { char napetu[25],napem[25],deui; int i,jml_data; long tobay,ubay,ukem; struct { ...