Describe 피보나치/김�� here.
~cpp 변수 a,b,c를 ì�´ìš©í•´ì„œ a,bê°€ 주 숫ìž�ê³ c는 임시 변수 입니다
~cpp
#include <stdio.h>
static int number_output;
int pi(int round)
{
static int a=1,b=1,c=0,round_temp;
c= a+b;
a=b;
b=c;
round_temp=round;
round_temp--;
if(round_temp !=0)
pi(round_temp);
else number_output = b;
//return b;
return 0;
}
int main()
{
int number_input;
printf("ì�´ë³´ì‚¼ ì•Œê³ ì‹¶ì�€ë²ˆì§¸ 피보나치수좀 알아보셈 : ");
scanf("%d",&number_input);
pi(number_input);
printf("%d",number_output);
return 0;
}










