P. 1
Algoritma Hitung Luas Dan Volume Tabung

Algoritma Hitung Luas Dan Volume Tabung

|Views: 385|Likes:
Dipublikasikan oleh Wida Deni

More info:

Published by: Wida Deni on Oct 30, 2011
Hak Cipta:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

08/02/2014

pdf

text

original

Algoritma Hitung Luas dan Volume Tabung.

Uses Crt; Var r, t, V, L : real; Pil : char; Begin Writeln(‘Menghitung Luas dan Volume Tabung’); Write(‘Masukan nilai tinggi tabung :’); Readln (t); Write(‘Masukan nilai jari-jari tabung :’); Readln (r); Write(‘Pilihlah yang ingin anda cari !’); Write(‘1. Luas tabung’); Write(‘2. Volume tabung’); Write(‘Masukkan pilihan anda !’); Readln ( pil); If pil : 1 then Begin L : = (2*3,14*r*r) + (3,14*r*t) Write (‘Luas tabung :’,L); End; If pil = 2 then Begin V : = 3,14*r*r*t; End; Else Write(‘Input yang anda masukan salah ! ‘); End.

You're Reading a Free Preview

Mengunduh
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->