Larik - Ari

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Larik - Ari as PDF for free.

More details

  • Words: 106
  • Pages: 1
indeks

LARIK / ARRAY LARIK menyatakan KUMPULAN DATA YANG BERTIPE SAMA contoh : Larik A 1

2

3

4

0

1

2

3

Deklarasi Larik : tipe nama [jumlah_elemen] int cacah[4] ; mempunyai 4 buah elemen bertipe integer char vokal[5] ; tipe character dengan 5 buah elemen char kota[6][20] ; tipe character panjang max 20 , 6 elemen pengaksesan array dimulai dari 0 contoh : int jumlah_hari[9] = {10, 2, 3, 4, 5, 6, 7, 8, 90} maka : jum_hari[0] bernilai jum_hari[1] bernilai jum_hari[2] bernilai jum_hari[3] bernilai jum_hari[4] bernilai jum_hari[5] bernilai jum_hari[6] bernilai jum_hari[7] bernilai jum_hari[8] bernilai

10 2 3 4 5 6 7 8 90

Related Documents

Larik - Ari
June 2020 11
Larik - Ari
June 2020 13
Larik
December 2019 29
Ari
August 2019 22
Ari
May 2020 20
Ari
April 2020 14