Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kelompok_Belajar_Alstrudat
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicolas Manurung
Kelompok_Belajar_Alstrudat
Commits
a7a27af2
Commit
a7a27af2
authored
Mar 14, 2019
by
Nicolas Manurung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete Tugas 2
parent
04263f87
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
Tugas 2
Tugas 2
+0
-25
No files found.
Tugas 2
deleted
100644 → 0
View file @
04263f87
Soal:
Pada Suatu hari, kamu ingin menghitung biaya yang telah kamu keluarkan selama x hari.
Program tersebut adalah dynamic array.
Contoh inputan:
Masukkan Hari : (jumlah hari yang akan dihitung pengeluarannya)
Data hari ke-x
Masukkan Nama barang pada hari ke-x: (input Nama barang)
Masukkan Harga Barang:
Masukkan Jumlah barang
(looping sebanyak hari tadi)
Output:
Data pada hari ke-X adalah:
Nama Barang ke-x:
Jumlah barang:
Harga barang(perbuah):
Total harga hari ke-x;
(Looping sampai siap hari ke-x)
Print(Jumlah keseluruhan pengeluaran pada -x hari)
Diharapkan mencobanya menggunakan dynamic array
Deadline besok.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment