Write a function that receives the Number and set the number as range. Now starting from 1 till the range, print "IsFibo" if a number is a Fibonacci number or "IsNotFibo", if a number is not a Fibonacci number.
Implementation:
Enter the range:
10
IsFibo
IsFibo
IsFibo
IsFibo
IsNotFibo
IsFibo
IsNotFibo
IsNotFibo
IsFibo
IsNotFibo
IsNotFibo
Implementation:
Output:
Enter the range:
10
IsFibo
IsFibo
IsFibo
IsFibo
IsNotFibo
IsFibo
IsNotFibo
IsNotFibo
IsFibo
IsNotFibo
IsNotFibo