Assembly language 32 bit MASM Irvine You are to ask the user for a number from 5 - 20. You will then do the Fibonacci se
Posted: Sat May 14, 2022 7:20 pm
Assembly language 32 bit MASM Irvine
You are to ask the user for a number from 5 - 20.
You will then do the Fibonacci sequence up to that number.
You may need to research the Fibonacci sequence first.
Example:
Please enter a number from 5 - 20: 10
0, 1, 1, 2, 3, 5, 8, 13, 21, 34
Note, the user typed 10, so it shows the first 10 numbers of the
sequence.
The initial numbers the computer should start with are the 0 and
the 1 at the start. Please add a **Loop** in the program
You are to ask the user for a number from 5 - 20.
You will then do the Fibonacci sequence up to that number.
You may need to research the Fibonacci sequence first.
Example:
Please enter a number from 5 - 20: 10
0, 1, 1, 2, 3, 5, 8, 13, 21, 34
Note, the user typed 10, so it shows the first 10 numbers of the
sequence.
The initial numbers the computer should start with are the 0 and
the 1 at the start. Please add a **Loop** in the program