fork(2) download
  1. Var x,y,z:integer;
  2.  
  3. begin clrsc;
  4.  
  5. WriteLN('5');
  6. WriteLN('6');
  7. WriteLN('7');
  8.  
  9. WriteLN('podaj 5');
  10. ReadLN(5);
  11. WriteLN('6');
  12. ReadLN(podaj 6);
  13. WriteLN('7');
  14. ReadLN(podaj 7);
  15.  
  16. WriteLN('Pp=',(x*z*2)+(x*y*2)+(z*y*2));
  17. WriteLN('V=',x*y*z);
  18.  
  19. readkey;
  20.  
  21. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 2.6.4+dfsg-4 [2014/10/14] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling prog.pas
prog.pas(3,12) Error: Identifier not found "clrsc"
prog.pas(10,9) Error: Variable identifier expected
prog.pas(10,9) Error: Variable identifier expected
prog.pas(12,14) Error: Identifier not found "podaj"
prog.pas(12,14) Fatal: Syntax error, ")" expected but "ordinal const" found
Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled)
stdout
Standard output is empty