fork download
  1. Program Escribeserie;
  2. Uses crt;
  3. Type rango=1..1000;
  4. vector= array [rango] of double;
  5. matriz= array[rango,rango] of double;
  6. Var i, j, k, a, b : integer;
  7. p,q,r,s : double;
  8. t: vector;
  9. m: matriz;
  10. Begin
  11. Writeln ('ingrese cantidad de terminos d ela SF');
  12. Read(k);
  13. p:=3.14;
  14. For j:=1 to 20 do
  15. Begin
  16. For i:=1 to k do
  17. Begin
  18. T[i]:=(-200*sin(2*p*(1/20)*i*j));
  19. r:=T[i]+r; end;
  20. Writeln (r);
  21. Readln;
  22. End;
  23. Readln;
  24. End.
  25.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Mozart Compiler 1.4.0 (20080704) playing Oz 3

%%% feeding file prog.oz

%*************************** parse error ************************
%**
%** syntax error, unexpected ';', expecting T_ENDOFFILE
%**
%** in file "./prog.oz", line 1, column 20
%** ------------------ rejected (1 error)
stdout
Standard output is empty