You are on page 1of 1

x=input('Enter The x coefficient');

y=('Enter The y Coeffficient');


if (x>=0&&y>=0)
fun=x+y;
elseif (x>=0&&y<0)
fun=x+y^2;
elsif (x<0&&y>=0)
fun=x^2+y;
else fun=x^2+y^2;
end
fprint('The Value aOf Function is :%f',fun)

2016UME4049KUNAL 0&5VK8J3IV%

You might also like