Angle difference between two bearings: Difference between revisions
Angle difference between two bearings (view source)
Revision as of 15:35, 29 July 2018
, 5 years ago→{{header|C}}: Remove vanity tags
Thundergnat (talk | contribs) m (→{{header|Ring}}: Remove vanity tags) |
Thundergnat (talk | contribs) m (→{{header|C}}: Remove vanity tags) |
||
Line 219:
This implementation either reads two bearings from the console or a file containing a list of bearings. Usage printed on incorrect invocation.
<lang C>
#include<stdlib.h>
#include<stdio.h>
Line 302 ⟶ 300:
Difference between b2(42213.071924) and b1(60175.773068) is 37.298856
</pre>
=={{header|C++}}==
<lang cpp>#include <cmath>
|