Question: answer question 1 and 2 please 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: Enter the value of X:4 Enter the value of N:4 Series =0.46875EnterthevalueofX:EnterthevalueofN:Series=2.578124 Question 2: POINTS] Write a C++ program to do the following: - Declare a 1-dimensional array of type integer with 10 components. - Fill array elements from the user. - Print a message to indicate whether the array contains numbers more than 100 , less than 100 or mix numbers as following: - More than 100: if all elements are greater than 100. - Lower than 100: if all elements are smaller than 100. . - Mix: if some of elements are greater and some are lower. 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
