Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  derékszög
Language: C/C++
Code:
Program derekszog;
VAR a,b:real;
BEGIN
 Write('Egyik befogó: ');
Readln(a);
 Write('Másik befogó: ');
Readln(b);
 Writeln('Az átfogó: ',sqrt(sqr(a)+sqr(b)):0:2);
 Writeln('Nyomj ENTER-t!');
Readln;
END.
Comments: