mp=deck[where];\rdeck[where]=deck[i];\rdeck[i]=temp;EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rjÕÖ×ØÙÚÛfibonacci\ráâãäåmåÔ2Ô/©2?Ím¡æ5·2?*\rRÞçèyy4éê?ëw??ìD\r|nW1D1\rFibonacci(n)-Jn=2D1\rn>2DFibonacci<n-l)+Fibonacci^n-2)\rLong\r#include<stdio.h>\r/*jÕÖpÜrs½n¿ÝÞßà}p""/\rlongfibonacci1(intn)\r<\rif(n<=2)\rreturn1;\relse\rreturnfibonacci1(n-1)+fibonacci1(n-2);\r/*j×ØpÜrs½n¿ÝÞßà}p"”/\rlongfibonacci2(intn)\r{\rlongresult;\rlongprevious_result;\rlongnext_older_result;\rresult=previous_result=1;\rwhile(n>2)\r<\r-n;\rnext_older_result=previous_result;\rprevious_result=result;\rresult=previous_result+next_older_result;\r}\rreturnresult;\rintmain()\r{\rprintfC^ibonaccil(10)=%ld\n**,fibonaccil(10));\rprintf(',fibonacci2(10)=%ld\n°,fibonacci2(10));\rgetchar();\rreturn0;