Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have just submitted this assignment last night, and my professor got back to me saying Does not meet specifications which said to print Fibonacci
I have just submitted this assignment last night, and my professor got back to me saying "Does not meet specifications which said to print Fibonacci series numbers separated by blank and comma and then ask for user input to print one single number (like the 5th or 10th or nth)" can someone please explain to me what is missing.
Thank you
C Eclipse File Edit Source Refactor Navigate Search Project Run Window Help eclipse-workspace Program2 HW/src/AKHFibonacci.java - Eclipse IDE AKHFibonacci.java 3 1 /Author: Amr Hafez, Section: 02 2 4 import java.util.Scanner; 6 public class AKHFibonacci public static void main (String[] args) int limit-20; //set limit to 20 as the question asks long [ Seriesnew long [limit]; //setting up the array of the size limit Scanner snew Scanner(System.in); Series [0] -0; I/we are setting up the 1st and 2nd values of series0 and 1 10 12 013 14 15 16 17 18 19 20 21 Series [1] - 1; for(int i 2; i 0 && nStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started