
26-12-2010, 09:11 PM
|
 |
|
|
تاريخ التسجيل: Mar 2010
الكلية: كلية الحاسبات وتقنية المعلومات - فرع شمال جدة
التخصص: IS
نوع الدراسة: إنتظام
المستوى: متخرج
البلد:
جــــدة
الجنس: أنثى
المشاركات: 45
|
|
سوال في البرمجه :(
بليز اي احد يقدر يساعدني في حل ده السوال مررره ضروري Write a program segment that computes 1+2+3+....+(n-1)+n ,where n is a data value . follow the loop body with an if statement that compares this value to (n*(n-1))/2 and display a message that indicates whether the value are the same or different. what message do you think will be displaying?
|