عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 24-07-2011, 09:31 PM

أساليب الكتابه أساليب الكتابه غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Feb 2010
التخصص: is
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: ذكر
المشاركات: 18
افتراضي واجب برمجه ضروري جدا


.


السلام عليكم في واجب تسليمه بكره ومو قادر احلها

اتمني الي عنده اجابته مايبخل علي محتاج هالدرجات :(



السوال الاول


Write a program that displays the recommended weight (kg), given the user’s age and
height(cm). The formula for calculating the recommended weight is
recommendedWeight = (height − 100 + age/10) ∗ 0.90
(a) Define a service class named Height include an appropriate method for getting a recommended
weight of a designated height


السوال الثاني


Write a program that compute the total ticket sales of a concert. There are three types of
seatings: A, B, and C. The program accepts the number of tickets sold and the price of a
ticket for each of the three types of seats. The total sales are computed as the following
totalSales = numberOfA_Seats * pricePerA_Seats +
numberOfB_Seats * pricePerB_Seats +
numberOfC_Seats * pricePerC_Seats +

التعديل الأخير تم بواسطة أساليب الكتابه ; 24-07-2011 الساعة 09:38 PM.
رد مع اقتباس