Programming Challenges [July 20, 2012, 5:31 a.m.]
This task will be updated with programming challenges. It will help in improving our programming skills.
Challenge 1 : The Fibonacci series
Info on Fibonacci series
Write a program to -
- Generate the Fibonacci series to a given limit (say n), and print it.
- Also output your result to a file in words.
- Mention a few applications of the Fibonacci series.
The Fibonacci series is easy to generate. You have to convert each number in words (Eg. 1=one, 2=two, ..etc) when you output the result to the file.
Example :
If the limit is n=5, then the Fibonacci series to be printed is : 0,1,1,2,3
And, the output to the file should be : zero, one, one, two, three