Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 && n

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

Why is job analysis considered to be a basic HR tool?

Answered: 1 week ago