#include #include #define A_SIZE 4 #define B_SIZE 5 #define C_SIZE 5 #define D_SIZE 6 // TODO: Function prototype goes here // You should not need to edit main() int main(void) { int a[] = {17, 40, 28, 29}; int b[] = {11, 12, 13, 14, 15}; int c[] = {-15, -11, -13, -14, -12}; int d[] = {0, 0, 0, 0, 0, -1}; printf("a: %s\n", balanced(a, A_SIZE) ? "balanced" : "not balanced"); printf("b: %s\n", balanced(b, B_SIZE) ? "balanced" : "not balanced"); printf("c: %s\n", balanced(c, C_SIZE) ? "balanced" : "not balanced"); printf("d: %s\n", balanced(d, D_SIZE) ? "balanced" : "not balanced"); } // TODO: Function definition goes here