Question: Code must be in C++ . Output must be correct (same). correct answer for 3 thumbs up.. Make a program which can compute the equation

Code must be in C++ . Output must be correct (same). correct answer for 3 thumbs up..
Make a program which can compute the equation given below: 1/4 ( *b+ a2 * b + az * b + ... + an* b i=0 If the value of 'n' is 3, 'b' is 4 and the value of 'a' is taken every time from the user and the value of ay is 9, a2 is 7, az is 10 and a4 is 15 then the equation looks like: 1/4 9*4 + 7*4 + 10 * 4 + 15 * 4 The equation written above produces the output of 3.53976. Use structures to define the member variables and functions for the calculations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
