الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

[مخالف - طلب حل : ]سؤال

مغلق
بدأه صهيب يوسف في 4 نوفمبر 2011 · 0 رد · 123 مشاهدة · في ارشيف قسم C/C++
مشاركة: واتساب X فيسبوك تيليجرام
#1

اضراري

In math, the function

F(X,Y) = X ^ 2 + Y^2 - Radius ^2

is used to check if a specific point is locating on, inside or outside a circle which center is (0, 0).

if:

F (X, Y) = 0 , the point is on the border

F (X, Y) > 0 , the point is outside the border

F (X, Y) < 0 , the point is inside the border

Write a C++ Program that asks the user to enter the radius, X and Y of the point that is to be checked. then print on screen if it is on, outside or inside the circle.

حاولت ان اقوم بحل السؤال ولكن لم افهم اي شيء من السؤال وانا طالب سنة اولى جامعة ساااعدوني

تم تعديل هذه المشاركة بواسطة صهيب يوسف في 4 نوفمبر 2011 في 03:45

−1

هذا الموضوع مغلق.

مواضيع مشابهة