Angle difference between two bearings: Difference between revisions

Content added Content deleted
m (→‎{{header|Ring}}: Remove vanity tags)
m (→‎{{header|C}}: Remove vanity tags)
Line 219: Line 219:
This implementation either reads two bearings from the console or a file containing a list of bearings. Usage printed on incorrect invocation.
This implementation either reads two bearings from the console or a file containing a list of bearings. Usage printed on incorrect invocation.
<lang C>
<lang C>
/*Abhishek Ghosh, 3rd October 2017*/

#include<stdlib.h>
#include<stdlib.h>
#include<stdio.h>
#include<stdio.h>
Line 302: Line 300:
Difference between b2(42213.071924) and b1(60175.773068) is 37.298856
Difference between b2(42213.071924) and b1(60175.773068) is 37.298856
</pre>
</pre>

=={{header|C++}}==
=={{header|C++}}==
<lang cpp>#include <cmath>
<lang cpp>#include <cmath>