Question: Make a c++ program Make a program which can compute the equation given below: 1/4 * b + a2 + b + az * b
Make a c++ program
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 ai is 9, a2 is 7, az is 10 and 14 is 15 then the equation looks like: 1/4 9*4 + 7 *4 + 10 * 4 + 15 * 4 5-4) l=0 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
