program main
implicit none

integer a,b
print*,'enter the value of a and b followed by space'
read(*,*) a,b
   if (a**2 + b**2>50) then
      print*,"point(a ,b) lies outside of sphere"
   else
      print*,"point(a ,b) lies inside of sphere"
   endif


end program main

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: