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 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
Get step-by-step solutions from verified subject matter experts
