Question: 3 C ) Write a C function isFib ( ) to check whether the given number is a Fibonacci number or not. Read M (

3C) Write a C function isFib() to check whether the given number is a Fibonacci number or not. Read M (4)xN matrix in main() and replace all the Fibonacci numbers in the principal diagonal by first digit of that number using above function and display the final matrix.
Ex: Input:
MN=22
13,25
34,55
Output:
125
34,5
3 C ) Write a C function isFib ( ) to check

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!