I can't get the results of the execution.
I think it's repeated indefinitely.
I made a structure by adding 1 to the count and repeating it.
What did I do wrong?
#lang sicp
(define (fi n)
(f-iter 0 3 n))
(define (f-iter sum count n)
(cond ((= count (+ n 1)) sum)
((< count 3) count)
(+ (f-iter sum (- count 1) n)
(* 2 (f-iter sum (- count 2) n))
(* 3 (f-iter sum (- count 3) n))
sum))
(+ count 1)
(f-iter sum count n))