Ch 16 ex 10(b). The formula for finding the center coordinates of (struct rectangle) r must be the midpoint formula NOT the average length between the coordinates · Issue #135 · williamgherman/c-solutions · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ch 16 ex 10(b). The formula for finding the center coordinates of (struct rectangle) r must be the midpoint formula NOT the average length between the coordinates
#135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
(b) Compute the center of r, returning it as point value. If either the x or y coordinate of the center isn't an integer, store its truncated value in the point structure
Sorry. Still learning the ins and outs. I don't know if posting this was necessary or out. I have made a pull request for the problem mentioned here.
MKing8992
changed the title
The correct mathematical formula for finding the center coordinates of (struct rectangle) r must be the midpoint formula NOT the average length between the coordinates
Ch 16 ex 10(b). The formula for finding the center coordinates of (struct rectangle) r must be the midpoint formula NOT the average length between the coordinates
Dec 11, 2024
Uh oh!
There was an error while loading. Please reload this page.
Hello. Excited to contribute! This should be a really easy fix!
Prompt for chapter 16 exercise 10(b):
Current solution:
With the midpoint formula in mind the correct usage is:
The text was updated successfully, but these errors were encountered: