ex33.pp 243 B

123456789101112131415161718
  1. Program Example33;
  2. { Program to demonstrate the norm function. }
  3. Uses math;
  4. Type
  5. TVector = Array[1..10] of Float;
  6. Var
  7. AVector : Tvector;
  8. I : longint;
  9. begin
  10. for I:=1 to 10 do
  11. Avector[i]:=Random;
  12. Writeln(Norm(AVector));
  13. end.