👤

struct Cerc {float r; int x, y;}a, b;
să se verifice dacă a şi b sunt concentrice


Răspuns :

if(a.x==b.x && a.y==b.y)

 cout<<"concentrice";

else

  cout<<"nu sunt concentrice";

Explicație: