Skip to main content
Commonmark migration
Source Link

##DELPHI / PASCAL

DELPHI / PASCAL

###With indent (157) program p; {$APPTYPE CONSOLE} var a,b:integer; begin readln(a,b); writeln('the hypotenuse of this right triangle is',sqrt(bb+aa):2:3); end.

With indent (157)

program p;
{$APPTYPE CONSOLE}
var a,b:integer;
begin
     readln(a,b);
     writeln('the hypotenuse of this right triangle is',sqrt(b*b+a*a):2:3);
end.

##DELPHI / PASCAL

###With indent (157) program p; {$APPTYPE CONSOLE} var a,b:integer; begin readln(a,b); writeln('the hypotenuse of this right triangle is',sqrt(bb+aa):2:3); end.

DELPHI / PASCAL

With indent (157)

program p;
{$APPTYPE CONSOLE}
var a,b:integer;
begin
     readln(a,b);
     writeln('the hypotenuse of this right triangle is',sqrt(b*b+a*a):2:3);
end.
Added size to answer, you can still get it down
Source Link

DELPHI##DELPHI / PASCAL

program p;
{$APPTYPE CONSOLE}
var a,b:integer;
begin
     readln(a,b);
     writeln('the hypotenuse of this right triangle is',sqrt(b*b+a*a):2:3);
end.

###With indent (157) program p; {$APPTYPE CONSOLE} var a,b:integer; begin readln(a,b); writeln('the hypotenuse of this right triangle is',sqrt(bb+aa):2:3); end.

DELPHI / PASCAL

program p;
{$APPTYPE CONSOLE}
var a,b:integer;
begin
     readln(a,b);
     writeln('the hypotenuse of this right triangle is',sqrt(b*b+a*a):2:3);
end.

##DELPHI / PASCAL

###With indent (157) program p; {$APPTYPE CONSOLE} var a,b:integer; begin readln(a,b); writeln('the hypotenuse of this right triangle is',sqrt(bb+aa):2:3); end.

Source Link
bela
  • 81
  • 1

DELPHI / PASCAL

program p;
{$APPTYPE CONSOLE}
var a,b:integer;
begin
     readln(a,b);
     writeln('the hypotenuse of this right triangle is',sqrt(b*b+a*a):2:3);
end.