Fibonacci Numbers

Description

Given an input number, a positive integer number, in this assignment you are asked to determine whether that is a Fibonacci number and if so, print 1. Otherwise, print two lines: it should print 0 at the current line and also print the next greater Fibonacci number to that given input number, at the following line.

Don't use plagiarized sources. Get Your Custom Assignment on
Fibonacci Numbers
From as Little as $13/Page