You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
303 B

void printData(Sample *data, int size) {
if (data == NULL) {
printf("Sample is empty!\n");
return;
}
for (int i = 0; i < size; i++) {
printf("Input 1: %f, Input 2: %f, Output: %f\n", data[i].in[0], data[i].in[1], data[i].out[0]);
}
}