Coding Question 20

The equation x2+y2=r2 represent a circle which centres at origin and radius is r. Write a program that read r from the keyboard and print the number of points with integer co-ordinate that lie on the circumference of the circle.   

Leave a Comment

Your email address will not be published. Required fields are marked *