Toggle navigation
Courses
Questions
Tags
Users
第一次期中考_Question2
5
like
0
dislike
802
views
費式數列中,除了第一項第二項是一之外,之後的每一項皆為前兩項的和,請撰寫一程式,由使用者輸入N代表費是數列的第N項,程式會輸出第N項的值。
輸入說明:
輸入一個正整數N,代表要計算出費式數列的的N項,N大於0。
輸出說明:
輸出費式數列第N項的值。
輸入範例:
5
輸出範例:
5
midterm
[Exam]
asked
Oct 27, 2017
in
2017-1 程式設計(一)AD
by
楊修俊
(
30k
points)
ID: 29382 -
Available when:
Unlimited
-
Due to:
Unlimited
|
802
views
comment
Please
log in
or
register
to add a comment.
18
Answers
0
like
0
dislike
Hidden content! ** ** * * * * * * ** * ** ** *** ** * *
100/100
answered
Oct 28, 2017
by
sars200378
(
174
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content! *** * ** * * *** *** ** ** * * * *** *** * ** * * *
20/100
answered
Oct 27, 2017
by
eddiepon
(
202
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!** * * ** ** * *** **** * * * * ** * * * * *
100/100
answered
Oct 27, 2017
by
0.0
(
224
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!** * * * * * * ** ** * * * * ** * *** *** * * * ** *
20/100
answered
Oct 27, 2017
by
0TXT
(
215
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!