Question: Write R program for the given question please help Subject is Data Analytics Write a R recursive function to return the sum of multiplication for

 Write R program for the given question please help Subject is

Write R program for the given question please help Subject is Data Analytics

Write a R recursive function to return the sum of multiplication for the given n values. Do not use pre- defined functions. (12 Marks) Sample Input: n=5 Sample Output: 155 Explanation: Start from n and multiply by 2 for next values. Continue up to n numbers and add the sum. (5+10+20+40+80=155)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!