السلام عليكم
اتمنى منكم المساعده لم افهم السؤالين
Exercise #1 :
Ask the user to enter radius of circle as an integer and prints the circle diameter , circumference and
area .Use the constant value 3.14159 for π.
• Function diameter- Calculate the circle diameter and return diameter value.
• Function circumference - Calculate the circle circumference and return circumference value.
• Function area - Calculate the circle area and return area value.
• Function Print – Print the circle diameter , circumference and area.
السؤال الثاني
Exercise#2:
Write the program that reads two pair of integers and determines whether the second one is multiple
of the first :
Function multiple -should take two integer arguments and return true if the second one is a
multiple of the first false otherwise.
ولكم جزيل الشكر