PDA

View Full Version : Pascal Help pl0x.


ynnaD
10-19-2009, 12:19 AM
I got this stupid error and I don't know what the hell I did wrong, it's a homework for my class. Can someone helps?

Ok this is it:


program lolcats;
var f,x:real
begin
write('x=');readln(x);
if x>0 or x<1 then
do f:=x+1
else f:=x*x-3x+2
write('f=');readln(f);
end.