0_0_39799088_13556.c: In function 'main': 0_0_39799088_13556.c:31:24: error: expected expression before 'double' 31 | double b=double (a[i]+a[i+1])/2; | ^~~~~~