tag:blogger.com,1999:blog-7764585372415707340.post507139587179172764..comments2023-07-10T06:58:24.777-07:00Comments on C Programming World: [chapter 2 part 1]let us c [SOLVED]Anonymoushttp://www.blogger.com/profile/10628525500832863894noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7764585372415707340.post-17854075604016463562014-12-12T06:44:19.687-08:002014-12-12T06:44:19.687-08:00Try this for question K
#include
#include
#include...Try this for question K<br />#include<br />#include<br />#include<br />main()<br />{<br /> float x,y,r,d;<br /> printf("\nEnter the value of x and y:");<br /> scanf("%f %f",&x,&y);<br /> printf("Enter the radius:");<br /> scanf("%f",&r);<br /> d=sqrt(x*x+y*y);<br /> if(d>r)<br /> printf("\nPoint is outside");<br /> else if(d==r)<br /> printf("\nPoint is on the circle");<br /> else if(d<r)<br /> printf("\nPoint lies inside the circle");<br /> getch();<br /> return 0;<br /> }Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7764585372415707340.post-53076184121764956512014-05-17T07:21:02.964-07:002014-05-17T07:21:02.964-07:00no we cnt post no we cnt post Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7764585372415707340.post-12265916754458065342013-01-10T00:00:57.554-08:002013-01-10T00:00:57.554-08:00Chapter 2 [C] K part solution is not correct as th...Chapter 2 [C] K part solution is not correct as there is center point not mentioned here to compare value and find out the result according to quadrant geometry, please share correct answerAnonymoushttps://www.blogger.com/profile/06406345862825788587noreply@blogger.comtag:blogger.com,1999:blog-7764585372415707340.post-10512904643183808282012-08-28T02:35:28.160-07:002012-08-28T02:35:28.160-07:00hey...can you post the program code of this questi...hey...can you post the program code of this question <br />1.Given a circle x2 +y2 =r2 .WAP to determine whether a point(x1,y1) lies inside, outside or on the circle.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7764585372415707340.post-30997154865214831582012-03-14T08:24:30.284-07:002012-03-14T08:24:30.284-07:00Excellent work . . . .. :)Excellent work . . . .. :)shanihttps://www.blogger.com/profile/15668693758557958969noreply@blogger.com