אני צריך לקלוט 2 וקטורים - בצורת מערך מספרים (עליהם אני צריך לעשות פעולות).
מהי השיטה הכי יעילה לקלוט את המערך?
אשמח לקבל דוגמא.
בתודה מראש, JO
#include <stdio.h>void main(){int a, b;printf("please enter 1th number:\n");scanf("%d\n", &a);printf("please enter the 2nd number:\n");scanf("%d\n", &b");}
#include <stdio.h>
void main(){int a, b;
printf("please enter 1th number:\n");scanf("%d\n", &a);printf("please enter the 2nd number:\n");scanf("%d\n", &b");
}
https://www.sports-warehouse.net/ekmps/shops/inspirations36/images/5ft-x-3ft-sunderland-afc-football-body-flag-banner-7021-p.jpg
בברכה,עידן