Sum of a Special Number Series

# Introduction In this challenge, we will calculate the sum of a special number series. The series is defined as the sum of consecutive fractions, where each numerator is the sum of the two previous numerators and each denominator is the sum of the two previous denominators. The objective is to write a program that takes an input value, N, and outputs the sum of the first N terms in the series. The output should be rounded to five decimal places. To solve this problem, you may need to use concepts like Fibonacci sequence and simultaneous assignment.

|
60 : 00

Click the virtual machine below to start practicing