Program da;var i,n:integer;p:integer;begin n:=300;for i:=1 to n doif (i mod 2=0) thenp:=p*i;writeln ('P=', p);readln;end.
Standard input is empty
P=0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!