fork download
  1. program ideone;
  2. var
  3. anio:integer;
  4. bisiesto :boolean;
  5. begin
  6. (* your code goes here *)
  7. writeln('Ingresa el año');
  8. readln(anio);
  9. aa:=bb;
  10. if(mod(anio,4)==0)then
  11. bisiesto:=true;
  12. else
  13. if((mod(anio,100))==0)then
  14. bisiesto:=false;
  15. else
  16. bisiesto:=true;
  17. end if
  18. end if
  19. end if
  20. if(bisiesto)then
  21. writeln('El año es bisiesto');
  22. else
  23. writeln('El año no es bisiesto');
  24. end if
  25. end if
  26. end if
  27. end.
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.pas: In main program:
prog.pas:9: error: undeclared identifier `aa' (first use in this routine)
prog.pas:9: error:  (Each undeclared identifier is reported only once
prog.pas:9: error:  for each routine it appears in.)
prog.pas:9: error: undeclared identifier `bb' (first use in this routine)
prog.pas:10: error: syntax error before `mod'
stdout
Standard output is empty