SHOPPING CART

close

C++ :: Histogram menggunakan Array 1 Dimensi

loading...
loading...

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


Yang mau traktir saya buat ngopi silahkan berdonasi via OVO, Dana atau LinkAja ke No. 085252804004
Jangan lupa, khusus yang sudah donasi mohon info via WA ke no. tersebut. Jika ada kendala akan saya sisihkan waktu di sela kesibukan. Siapkan Teamviewer atau AnyDesk agar bisa saya pandu dari kejauhan.
Terimakasih.
Jangan lupa like kami di Facebook untuk stay update informasi terbaru:

//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”;
}
}

Tags:
C++

18 thoughts on “C++ :: Histogram menggunakan Array 1 Dimensi

  • 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

    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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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

    … [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 […]

Mari Berdiskusi

error: Maaf, dilarang copy-paste!
%d bloggers like this: