FUNCTION F(X)
IF(X.LT.2.0)F=2.0*X**2-3.0*X+4.0
IF(X.EQ.2.0)F=0.0
IF(X.GT.2.0)F=2.0*X**2+3.0*X+1.0
RETURN
END
READ*,X
FX=F(X)
PRINT*,'f(X)=',FX
STOP
END
RlVOQ1RJT04gRihYKQpJRihYLkxULjIuMClGPTIuMCpYKioyLTMuMCpYKzQuMApJRihYLkVRLjIuMClGPTAuMApJRihYLkdULjIuMClGPTIuMCpYKioyKzMuMCpYKzEuMApSRVRVUk4KRU5EClJFQUQqLFgKRlg9RihYKQpQUklOVCosJ2YoWCk9JyxGWApTVE9QCkVORA==