maze finally

This commit is contained in:
2025-10-14 05:00:53 +03:00
parent e4b41b298d
commit e092213ed4
6 changed files with 295 additions and 35 deletions

View File

@@ -9,13 +9,11 @@ int main(void)
for(size_t j = 0; j < arr; j++) {
printf("For Element %d enter num!\n", j);
int num = 0;
scanf("%d", &num);
nums[j] = num;
scanf("%d", nums + j);
}
for(size_t j = 0; j < arr; j++) {
printf("Element %d = %d\n", j, nums[j]);
printf("Element %d = %d\n", j, *(nums + j));
}
return 0;
}