Opening the reading…
Opening the reading…
DSA FUNDAMENTALS › MATH BASICS
This is a scratch drill — your code runs, nothing is graded or recorded. No test cases, no expected output, no verdict.
TASK
Complete the loop condition so the program prints the Fibonacci numbers from the running example up to the inclusive limit 20. Print 0, 1, 1, 2, 3, 5, 8, and 13, but not 21.
OUTPUT
Sample0 1 1 2 3 5 8 13
What a finished answer prints, from the lesson. Nothing has run yet — press Run and this is replaced by your program’s own output.