سلسلة الغو #1431
BENKOUIDERAHMED
started this conversation in
General
سلسلة الغو
#1431
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ex 02:
#include <stdio.h>
int pgcd(int a, int b) {
// تحقق من صحة المدخلات
if (a < 0 || b < 0) {
printf("enter a positives number\n");
return 1; // إرجاع قيمة غير صحيحة للإشارة إلى خطأ
}
}
int main() {
int num1, num2;
}
Beta Was this translation helpful? Give feedback.
All reactions