program hitung_;
uses wincrt;
var
c:integer;
procedure hitung;
var
a,b :integer;
begin
write('A=');readln(a);
write('B=');readln(b);
c:=a+b;
end;
{program utama}
begin
hitung;
write('c=',c);
end.
OUTPUT
misal
A=5
B=5
maka
Senin, 28 November 2011
PROGRAM HITUNG(PENJUMLAHAN)
Posted by wakhidatul anikiyah
11.57, under Contoh Latihan Algoritma | 1 comment
1 komentar:
tes tes tes... terimakasih mbak
Posting Komentar