Pascal mania the morning, this time I will explain how to create a program to find the area of a parallelogram. in essence, this program explains that the formula of a parallelogram itself is (Area = AXT). simply follow the steps below carefully.
How to make a parallelogram formula:
- please open your program.
- select the file - new.
- and write the code as below.
- then select compile - compile or alt + f9 to make sure there are no errors in your program code.
- if there is no error, please select the run - run.
- congratulations you can make the program look for his own vast parallelogram.
program luas_jajrgenjang;
uses crt;
var a,t,l : real;
begin
clrscr;
writeln('MENCARI LUAS JAJAR GENJANG');
writeln;
write('masukkan alas :'); readln(a);
write('masukkan tinggi :'); readln(t);
l:=a*t;
writeln('luas jajar genjang :',l:0:0);
readln;
end.
uses crt;
var a,t,l : real;
begin
clrscr;
writeln('MENCARI LUAS JAJAR GENJANG');
writeln;
write('masukkan alas :'); readln(a);
write('masukkan tinggi :'); readln(t);
l:=a*t;
writeln('luas jajar genjang :',l:0:0);
readln;
end.
* Greeting pascal mania and may be usefu
0 Response to "how to make the program look for vast parallelogram in TURBO PASCAL 7.0"
Post a Comment