Saya disini akan membuat program PUNGSI TEMPLATE :)- #include <iostream>/* run this program using the console pauser or add your own getch, system("pause") or input loop */using namespace std;template
Kamis, 15 September 2016
Rabu, 14 September 2016
Minggu, 15 Mei 2016
alpro
Unknown
18.08
blogs farhan blogs indra BUBBLE SORT BUBBLE SORT (Bubble Sort) diinspirasikan oleh gelembung sabun yang berada dipermukaan air. Karena berat jenis gelembung sabun lebih ringan daripada berat jenis air,
Jumat, 06 Mei 2016
alpro
Unknown
06.37
MINGGU 07 ARRAY SATU DIMENSI CONTOH PROGRAM: #include <iostream>#include <math.h>#include <conio.h>using namespace std;class HitungStatistik {friend ostream& operator<<(ostream&, HitungStatistik&);friend istream& operator>>(istream&, HitungStatistik&);public:float rata();float STD();private:long sqrt(int n) { return(n*n); }int
Sabtu, 16 April 2016
alpro
Unknown
07.27
mencari rata-rata yang di gunakan kembali: programnya: #include <iostream>/* run this program using the console pauser or add your own getch, system("pause") or input loop */using namespace std;int main(int
alpro
Unknown
06.51
Mencari nilai rata-rata: programnya: #include <iostream>/* run this program using the console pauser or add your own getch, system("pause") or input loop */using namespace std;int main(int argc, char**
alpro
Unknown
06.46
MENCARI NILAI RATA-RATA Programnya: #include<iostream>#include<conio.h>#define max 7using namespace std;main(){float a[max],jumlah=0,rata_rata;int j;//Memasukkan nilai ke dalam elemen array// \n\n" berfungsi sama seperti endlcout<<"masukan nilai /n/n :";for(j=0;j<max;j++){cout<<"A["<<j<<"]= ";cin>>a[j];jumlah=jumlah + a[j];}//Melakukan Proses
alpro
Unknown
06.44
MENCARI NILAI RATA-RATA contoh programnya: #include<iostream>#include<conio.h>#define max 7using namespace std;main(){float a[max],jumlah=0,rata_rata;int j;//Memasukkan nilai ke dalam elemen array// \n\n" berfungsi sama seperti endlcout<<"masukan nilai /n/n :";for(j=0;j<max;j++){cout<<"A["<<j<<"]= ";cin>>a[j];jumlah=jumlah + a[j];}//Melakukan
Minggu, 10 April 2016
alpro
Unknown
09.21
PRAKTIKUM KE 5 NO 1 #include <iostream> #include <conio.h> using namespace std;long int faktorial( long int a); main(){ long int faktor; long int n; cout<<"Masukan Nilai
Sabtu, 09 April 2016
alpro
Unknown
07.25
kasus 5.2 PROGRAM C++: #include <iostream>/* run this program using the console pauser or add your own getch, system("pause") or input loop */using namespace std;int main(int argc, char** argv)
Langganan:
Postingan (Atom)