I need to write a program which can output the intersection coordinates(points) of a circle and a line given the center and the radius of the circle and also the two points of a line. If there are no intersections it should say so. Any suggestions?

Hi felix, welcome.
It is always handy to study the formulas behind line and circle intersection, before beginning to program this. See this example.
It is just a matter now of inputting some values in your program. Plug them in some formulas and outputting the results. Success!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.