Professional Documents
Culture Documents
Soal Praktikum
Practicum Case
T0016
Algoritma dan Pemrograman
Jurusan
Kelas 01PUT 01PVT 01PWT 01PXT 01PYT 01PZT 01SAT Department
Class Teknik Informasi
Computer Science
Periode Berlaku Semester Ganjil 2010/2011 Revisi 00
Valid on Odd Semester Year 2010/2011 Revision00
Pokok Bahasan
Subject Discussion
IDE and I/O instruction
Syntax I/O Variable
Materi
Material
Typing code with syntax error
Compile, run, and debug program
Knowing data type and variable assignment
Creating a program using I/O syntax
Soal
Case
Gudang Oke Shop wants to make a program to manage the item stocks. Make the program
according to these descriptions:
First, ask user to input a name.
Ask user to input item name, quantity, purchase price, and sale price. The purchase and
sale price can be inputted in decimal format.
Show item details: item name, quantity, purchase price, and sale price. Show the purchase
and sale price in two-digits behind comma format.
Halaman :1dari 3
Page 1 of 3
Print Screen of the Program
Halaman :2dari 2
Page 2 of 2