R0b0t1
2008-04-29 20:26:01
2008-04-29 20:26:01
2008-04-29 21:03:32
2008-04-29 21:10:24
2008-04-30 01:47:26
2008-04-30 13:07:11
2008-04-30 17:46:36
From: mixster
I would suggest adding brackets in the if as I believe Scar will read it differently to what you want e.g. instead of (3 * 5 - 1) being ((3 * 5) - 1) you may end up with (3 * (5 - 1)) where the first gives you an answer of 14 and the second 12 :)
program New;
begin
writeln(inttostr(4 * 3 + 1));
end.
2008-04-30 19:13:52
From: HyperSecret
scar follows the order of operations
program New;
begin
writeln(inttostr(4 * 3 + 1));
end.
answer = 13;
WriteLn(IntToStr(4 + 1 * 3));2008-04-30 19:23:14