fork download
  1. program kugel;
  2. const pi = 3.1416;
  3. var radius, flache;
  4.  
  5. begin
  6. write ('wie gross ist der radius der kuegel in [cm]?') readln (radius);
  7. flache := radius* radius* radius* pi
  8.  
  9. writeln ('die flache ist' , flache);
  10. end.
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Free Pascal Compiler version 2.2.0 [2009/11/16] for i386
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for i386
Compiling prog.pas
prog.pas(3,19) Fatal: Syntax error, ":" expected but ";" 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