رد: [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 ‘’/’)
|