printf("creature %d: (%.2f, %.2f)\n", i, guys[i].x, guys[i].y); } } return 0;}I threw in a cast there in the code: (float). See i is an int, but each
of the fieldsguys[i].x and guys[i].y is a float. The cast changes the expression right after it, in thiscase “i” to the specified type. It's al[r]