Question: Program o Get an integer N ( user input ) o Calculate / output the first N Fibonacci numbers using a subroutine based on the
Program
o Get an integer N user input
o Calculateoutput the first N Fibonacci numbers using a subroutine based on the JnS instruction.
Write a Marie program Qmas
You should include at least lines of comments in each program.
Hint: You need a loop of subtractions.
Test cases: grading may use a different value
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
Input:
Output:
PLEASE WRITE THE CODE IN MARIE I DO NOT NEED ANYTHING ELSE!!! ALSO PLEASE FOLLOW THE JNS INSTRUCTION AND THE INSTRUCTIONS OF THE QUESTION VERY CAREFULLY!!! MY LOOP CONTINUES TO GET STUCK AND NOT PRODUCE THE CORRECT OUTPUTS!!!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
