Question: C++ Write a C++ program to evaluate the sum of 1 1 + + + + 1 (i) x (i +1) + 1 + 1248

C++

C++ Write a C++ program to evaluate the sum of 1 1

Write a C++ program to evaluate the sum of 1 1 + + + + 1 (i) x (i +1) + 1 + 1248 x 1249 11 x 12 1 + 10 x 11 1 1249 x 1250 12 x 13 Hint: write a for loop such that the first term is 1 (i) x (i + 1) where i is 10 and the last term is where i is 1249. Sum all the terms. Print your answer to the console so that it displays 3 digits after the decimal point

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!