Question: please i need this asap C++ Write a C++ program to compute and print the value of the following series. You should read x and
Write a C++ program to compute and print the value of the following series. You should read x and n from the user. A sample run of the program: \begin{tabular}{l|l} Enter x:3 & Enter x:4 \\ Enter n: 3 & Enter n: 6 \\ Series =1.33333 & Serieg =2.625 \\ \hline \end{tabular} QUESTION 2: [5 poInTS] Write a C++ program to do the following: - Declare a 1-dimensional array of type integer with 15 components. - Fill array elements from the user. - Print a message to indicate whether the array contains odd, even or mix numbers as following: - Odd: if all elements are odd. - Even: if all elements are even. - Mix: if some of elements are even and some are odd. A sample run of the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
