Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  func
Language: C/C++
Code:
program func;
var
x,y:real;
begin
writeln('input x ');
readln(x);
if x>0 then  y:= 1;
if x=0 then y:= 0;
if x<0 then y:= -1;
writeln('y = ',y:1:0);
readln
end.
Comments: