You're viewing a comment by Lucky Agrawal and its responses.

Lucky Agrawal Permalink
October 19, 2016, 14:21

can you please send me c# or java code for convert miles to kilometer using fibonacci seriese.

Thanks & regards,
Lucky

Comment Responses

bill Permalink
October 26, 2017, 15:11

Heres a javascript solution:

function fib(n) {
var a = [0,1];
	while(a[a.length-1] + a[a.length-2]<=n) {
		a.push(a[a.length-1] + a[a.length-2]);
	}
	return a;
}

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "halflife3_181": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.