I made a function that inputs five, but all the other parts are solved Why does it print only the last input...? printf("[%d,%d] [%d,%d]\n", p1[i] in the printf function.x, p1[i].y, p2[i].x, p2[i].y)y); If I change it like this, there are a lot of errors suddenly, so how do I change it to print out the first input?c
If you want to receive a total of five coordinate pairs, the variable to store the input value must be in array form.
© 2022 pinfo. All rights reserved.