fork download
  1. Program Lab2A;
  2.  
  3. Const
  4. x = 17.421;
  5. y = 10.365;
  6.  
  7. Var
  8. a: Real;
  9.  
  10. Begin
  11. a := Exp(Ln(y) / 4) + Exp(Ln(x + 1) / 3);
  12. Writeln('Result is a = ', a:0:4);
  13. End.
  14.  
Success #stdin #stdout 0.01s 5288KB
stdin
1
2
10
42
11
stdout
Result is a = 4.4353