Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

answer question 1 and 2 please image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions