رد: الى الاخوان والاخوات .. مساعدة حل لاب البرمجة ضروري جدا
خلاص مشكورين جت معي .
بالنسبة للحوسبة انا عند با جابر وقلنا الاختبار بكرة بس شابتر 5 و 7 واختبار الاثنين 5 و 7 و 8
__
معليش اذا في امكانية هذا سؤال جاء لسكشن اخر وفي اختلاف بسط ياليت لو احد يحله .. والله يوفقكم .
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.
• A header functions to calculate the Area of the triangle (AREA)
DIST = square root ((XA-XB)2 + (YA-YB)2)
AREA=(Width *high)/2
|