Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Continued fraction/Arithmetic/Construct from rational number (view source)
Revision as of 12:20, 9 February 2013
, 11 years ago→{{header|C++}}
No edit summary |
m (→{{header|C++}}) |
||
Line 40:
*/
class ContinuedFraction {
public:
virtual const int nextTerm(){};
Line 148 ⟶ 147:
3 7 7142857
</pre>
=={{header|Perl 6}}==
Straightforward implementation:
|