Home » » R radius x1,y1,

R radius x1,y1,

#include
#include
main()
{ int x1,y1,R,s;
  printf("R="); scanf("%d",&R);
  printf("x1="); scanf("%d",&x1);
  printf("y1="); scanf("%d",&y1);
  s=((x1<=R)&&(y1<=R));
  printf("%d\n",s);
  return 0;
}

/* x1,y1 points fit to R radius*/
Share this article :
 
Copyright © 2015 Tаамаглал
Distributed By Gooyaabi Templates