program ex18 !this program calculate the value of y integer ::x,y read *,x if (x>2)then y= -2+3*x else y=8+x**2 end if Print *, y end program ex18
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more