#include int main(void) { float dd = 3.2; int d = 4; float ddm = dd % 3; /* array.c:6: error: invalid operands to binary % */ float dm = d % 3; /* * Exercise1: implement /* using +- * Exercise2: implement modulo % using +-/* */ printf("%f\n", ddm); int data[3] = {6, 9, 12}; /* these are referenced as data[0], data[1], and data[2] */ int i; /* index stops at 3 instead of 2 as it should */ for(i = 0; i <= 4; i++) printf("data[%d] is %d\n", i, data[i]); data[3] = 8; /* here is where the problem occurs */ int myarray[128]; char c1 = 65; char c2 = 70; char[c1+c2] = 8; /* sometimes hard to find this problem */ return data[0]; }