Professional Documents
Culture Documents
INPUT
PROSES
OUTPUT
ANALISIS I-P-O
SITUASI
Haikal mengambil gambar keluarganya dan menghantar gambar tersebut kepada
rakan-rakannya dengan menggunakan telefon pintar. Apakah input, proses, dan
output yang boleh dikenalpasti untuk telefon pintar tersebut melaksanakan tugasnya?
01 MULA
INPUT nama MULA
02 OUTPUT “Masukkan nama anda : ”
03 INPUT nama
PROSES - OUTPUT “Masukkan 04 OUTPUT “Hello” + nama
nama anda : ” 05 TAMAT
OUTPUT Mesej “masukkan nama”,
Mesej “Hello” dan nama INPUT nama
TAMAT
Write a simple program to calculate the volume of a sphere.
Your program should allow the user to key in the radius of the
sphere. Use a formula to calculate and display the volume of the
sphere.
INPUT Input radius
PROSES 4/3 * pi * r * r * r
OUTPUT volume of a sphere
MULA
01 MULA
INPUT radius 02 INPUT radius
03 PROSES
PROSES Area_of_sphere
Area_of_sphere = 4/3 * pi * radius * = 4/3 * pi * radius * radius
radius * radius *
radius
04 OUTPUT
OUTPUT Area_of_sphere
Area_of_sphere
05 TAMAT
TAMAT