Histogram Menggunakan Array 1 Dimensi

Hai teman-teman, jangan lupa subscribe Channel Youtube saya.
Subscribe tidak dipungut bayaran, mari dukung saya dengan klik tombol subscribe.


Ngobrol bareng seputar ngoprek mari bergabung di grup "Android TV dan STB".
Terakhir diupdate pada 10/02/2020 oleh Wira Loksado

Script ini akan menampilkan histogram dengan pattern ‘*’. Teknik yang digunakan menerapkan statemen for i yang diimplementasikan ke dalam Array 1 Dimensi (1D).

//program histogram
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int n[7] = {10,3,15,14,17,5,3};
int i,j;
cout<<"Mencetak Pola Histogram"<<endl;
for (i=0; i<7; i++)
{
cout<<" "<<i<<" "<<n[i];
gotoxy (11, i+2);
for (j=1; j<=n[i];j++ )
cout<<"*";
cout<<"\n";
}
}

Was this helpful?


0 / 0


DMCA.com Protection Status
Artikel ini dilidungi oleh DMCA Takedown Services & Website Content Protection. Dilarang Copy-Paste.
Yang mau ngajakin ngopi silahkan klik

Hai teman-teman, jangan lupa subscribe Channel Youtube saya.
Subscribe tidak dipungut bayaran, mari dukung saya dengan klik tombol subscribe.


Ngobrol bareng seputar ngoprek mari bergabung di grup "Android TV dan STB".

Like Facebook Wira Loksado dengan menekan tombol "Suka" di bawah ini agar tetap update informasi terbaru:

Mari Berdiskusi

Endulpignip

Endulpignip

Just want to say what a great blog you got here!
I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!

Thumbs up, and keep it going!

Cheers
Christian, iwspo.net

Endulpignip

Endulpignip

Just want to say what a great blog you got here!
I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!

Thumbs up, and keep it going!

Cheers
Christian,Earn Free Vouchers / Cash

Corporate Event Management Company in Hyderabad

Corporate Event Management Company in Hyderabad

… [Trackback]

[…] Find More here|Find More|Find More Infos here|Here you can find 1614 additional Infos|Informations to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

?????????

?????????

… [Trackback]

[…] Read More on|Read More|Find More Infos here|Here you can find 34117 more Infos|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

Festivales

Festivales

… [Trackback]

[…] Find More here|Find More|Read More Infos here|There you can find 77137 more Infos|Informations on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

how to cheat asphalt 8

how to cheat asphalt 8

… [Trackback]

[…] Find More here|Find More|Find More Infos here|There you will find 45695 additional Infos|Informations to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

lowongan kerja bumn oktober 2018/2019

lowongan kerja bumn oktober 2018/2019

… [Trackback]

[…] Read More on|Read More|Read More Infos here|There you can find 87528 more Infos|Informations on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

Arena Hijau

Arena Hijau

… [Trackback]

[…] Read More here|Read More|Find More Informations here|There you will find 63833 more Informations|Infos on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

converted garage

converted garage

… [Trackback]

[…] Find More here|Find More|Read More Infos here|There you can find 64159 more Infos|Informations on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

klik gan

klik gan

… [Trackback]

[…] Read More here|Read More|Find More Informations here|There you can find 24216 more Informations|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

bandar taruhan

bandar taruhan

… [Trackback]

[…] Find More on|Find More|Find More Informations here|Here you will find 39652 additional Informations|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

nursing test banks

nursing test banks

… [Trackback]

[…] Find More here|Find More|Find More Informations here|Here you will find 36883 additional Informations|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

look what i found

look what i found

… [Trackback]

[…] Find More on|Find More|Find More Infos here|There you will find 88291 more Infos|Informations on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

Christ Gospel Church Cult

Christ Gospel Church Cult

… [Trackback]

[…] Find More on|Find More|Find More Informations here|Here you can find 52551 more Informations|Infos on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

Lake Texoma Fishing Guide

Lake Texoma Fishing Guide

… [Trackback]

[…] Find More on|Find More|Read More Infos here|Here you will find 17069 additional Infos|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

sertifikasi guru aceh 2018

sertifikasi guru aceh 2018

… [Trackback]

[…] Find More here|Find More|Find More Infos here|Here you can find 5221 additional Infos|Infos to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

how to make money with a iphone

how to make money with a iphone

… [Trackback]

[…] Find More here|Find More|Find More Infos here|There you can find 30536 more Infos|Informations to that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

pokemon go hack

pokemon go hack

… [Trackback]

[…] Find More here|Find More|Find More Informations here|Here you will find 80267 more Informations|Infos on that Topic: blog.loksado.com/c-histogram-menggunakan-array-1-dimensi […]

Chat via WA
1
Kontak WA hanya untuk kepentingan donasi, tanya jawab silahkan gunakan kolom komentar pada akhir artikel.