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

[مخالف - طلب حل : ]ارجووووو حل هذه الاسئلة

مغلق
بدأه صهيب يوسف في 3 نوفمبر 2011 · 1 رد · 149 مشاهدة · في ارشيف قسم 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.

السؤال الثاني ::

Suppose that you want to go for shopping, you want to buy Potato, Milk, and bread.

calculate the amount you have to pay, if you know that:

1 Kg bread = 3 NIS

1 Litter Milk = 4 NIS

1kg Potato = 5.5 NIS.

ask the user to enter the amounts he wants to buy (in Kg or Litter), and and how much NIS he has. then print if his budget is enough to buy waht he wants or not.

السؤال الثااالث :

Write a C++ Program that asks the user to enter an alphapatical character,

Then change its case and print it on screen.

Ex 1.

Please enter a character: a

output: A

Ex 2.

Please enter a character: B

output: b

Ex 3.

Please enter a character: +

output: +

ارجوو المساااعدة منكم وتحياااتي لكم

#2

الأخ الكريم/الأخت الكريمة

السلام عليكم ورحمة الله وبركاته.

مرحباً بكم في منتدى الفريق العربي للبرمجة

تأسف إدارة المنتدى لغلق الموضوع وذلك لمخالفته قوانين المشاركات، فقرة طلب حل الواجبات والتمارين.

قواعد طرح المشاركات

/index.php?showtopic=29343

شاكرين لكم حُسن تعاونكم

مدونتي: C++ Tips and Tricks

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

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