Posts by user46084 • 29 points
1 post
-
0
votes2
answers189
viewsQ: How to calculate the distance in fewer lines?
I have this exercise on C to calculate the distance between two points using structs, but he repeats the point code a lot, to x and y, how to do it in fewer lines or use array? #include…