P. 1
Makalah Pascal Ipank

Makalah Pascal Ipank

4.55

|Views: 4,615|Likes:

More info:

Published by: irpan kusuma wijaya on Dec 16, 2008
Prawo autorskie: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

05/15/2013

pdf

text

original

Perulangan repeat until yang satu berada di dalam perulangan repeat until yang lain.

Contoh 1

Uses Crt;
Var A,B,C:Real;
Begin

Clrscr;
Writeln(‘=====================’);
Writeln(‘Sisi A Sisi B Sisi C’);
Writeln(‘=====================’);
A:=1;
Repeat
B:=0;

Repeat
C:=sqrt(A*A+B*B);
Writeln(A:6:2,B:9:2,C:9:2);
B:=B+5;
Until B>25;
A:=A+1;

Until A>3;
Writeln(‘=====================’);
Readln;

End.

Output

PEMPROGRAMAN PASCAL37

You're Reading a Free Preview

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