
04-04-2010, 05:25 PM
|
|
|
تاريخ التسجيل: Jan 2010
نوع الدراسة: إنتظام
المستوى: الثاني
الجنس: ذكر
المشاركات: 27
|
|
واجب برمجة 202
Q1. Write a program using two functions, one to calculate the hypotenuse (H) and the another to calculate area (A) of a right-triangle as shown below:
Hint:
i. Hypotenuse = sqrt(pow(a,2)+ pow(b,2)) < math.h>
ii. Area = (a + b)/2
Q2. Write the equations i & ii using Insert Equation in Microsoft Word 2007
|