عرض مشاركة واحدة
منتديات طلاب وطالبات جامعة الملك عبد العزيز منتديات طلاب وطالبات جامعة الملك عبد العزيز
  #1  
قديم 26-12-2010, 09:15 PM
الصورة الرمزية dldoll

dldoll dldoll غير متواجد حالياً

جامعي

 
تاريخ التسجيل: Dec 2010
نوع الدراسة: إنتظام
المستوى: الثالث
الجنس: أنثى
المشاركات: 17
افتراضي رد: [cpcs 202 - برمجة 1] لديك سؤال , شيء غير مفهوم ,,, تفضل هنا , موضوع مفيد


السلام عليكم

الرجاء مساعدتي في حل هذا البرنامج
عجزت وأنا احاول


}Write “operations” function , which receive 2 numbers and character , apply the operation on the numbers, then return the result.
}
}In the main program read 2 numbers and a character , call the function and send the parameters to it, receive the result and print it on the screen.
}Note:(before call the function ,make sure the symbols will you send to the it is one of (+,-,*,/ ) and the second number is non zero if the operation ‘’/’)
رد مع اقتباس