ارجو من الاخصائين الموجودين مساعدتي في حل هذه الاسئلة
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: +
ارجوو المساااعدة منكم وتحياااتي لكم