ss="special">&lt;&lt;</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">endl</span><span class="special">;</span>

    <span class="keyword">return</span> <span class="number">0</span><span class="special">;</span>
<span class="special">}</span>
</pre>
<p>
        </p>
<p>
          Output:
        </p>
<pre class="programlisting">distance:
0.0675272 over unit sphere
267.34 over a spherical earth, in miles
</pre>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/