Pages

Sabtu, 28 Mei 2011

Pascal Triangle Area Formula

Getting a little knowledge, and directly diamalkan will be better and here I had just poured a little I know about the formulation of Pascal programming language.

Formulas Calculating Area of ​​a Triangle;

uses crt;                                                                

var a, t, ls: integer;

begin

clrscr;

write ('base ='); readln (a);

write ('height ='); readln (t);

ls: = a * t;

Writeln ('Area of ​​a Triangle is =', ls);

readln;

end.

Tidak ada komentar:

Posting Komentar