daily programming challenge #2
Level: easy!
Programm a programm, which gets two numbers and calculates the Fibonacci-loop from it.
Example:
Input
2, 5
Output
2 + 5 = 7
5 + 7 = ???
Extensions:
E1:(If you don't have unbound variables in your language): Look up a way to find out, whether your two Integers are too
big.
E2: Let the user choose, which iteration of this Cycle he wants to get displayed.
Ex (e2):
Input:
2, 5, 20
Output:
Calculates until the 20eth Iteration and prints the result of this specific (20) Iteration!
E3: Write the result to a file.
Leave daily programming challenge #2 to:
Read more #programming posts
Best Posts From linuxer4fun
We have not curated any of linuxer4fun's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From linuxer4fun
- Daily programming challenge #15 PAPER, PLEASE!
- Daily programming challenges: Why I do them
- Daily programming challenge #15 Basic challenge extended
- Daily programming challenge #14 Let's get easy for the moment
- Daily programming challenge #13 3D
- My thougts on 1 == 2; Math theory
- Daily programming challenge #12 Assembler
- Daily programming challenge #5 The lost challenge
- Daily programming challenge #11 Neural Networks
- Daily programming challenge #10 Data
- Daily programming challenge #9 HACKER
- Daily programming challenge #8 NETWORKS and stuff
- daily programming challenge #7 Your first own Library
- daily programming challenge #6 CHEAT-Engine
- Daily programming challenge #4 ASCII-ART
- Daily programming challenge #3
- daily programming challenge #2
- Daily programming challenge
- devRant - Programmers lifesaver