Toggle navigation
Courses
Questions
Tags
Users
AD 20161103 作業1
0
like
0
dislike
3.3k
views
請設計一程式,使用者輸入一個正整數N,程式會輸出相對應的費氏數列第N項。
sample input:
10
sample output:
55
[Exercise]
Coding (C)
-
asked
Nov 3, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16957 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.3k
views
comment
Please
log in
or
register
to add a comment.
26
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main(void) {
** * * * * ** ** * *** a[99],i,x;
* * ** * * * * ** *** **** * *** ** ** * *
* ** * *** * * ** * * ** * *
* * * * * **** ** * * * *** * * *
** * ** * * * * * ** * * **** * ** ** * *
* * * * * * * ** *** ** * *
* * * * * * * ** * ** * *** ** * * ** * * * *** * * * * * * * * **
* * * * ** *** ** * ** * *
* ** * **** * * ** * ** ** ** * * ** * ** *** **
* ** **** ** * * * * **** EXIT_SUCCESS;
}
answered
Dec 2, 2016
by
410421238
(
-38
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int Fibonacci(int n);
int main()
{