اتمنى من الاخوان او الاخوت ان يساعدونا في حل هذا السؤال ضروري اليوم عشان الاختبار بكرا :
Write a C program that calculates and displays the distance DIST (type double) between two points A and B of the plane which the coordinates (XA, YA) and (XB, YB) are entered by keyboard as an integer by using:
• A header functions to calculate DIST.
• the coordinate (XA, YA) and (XB, YB) should be positive
DIST = square root ((XA-XB)2 + (YA-YB)2)