Question: Write a program to sum the following series: 1 3 5 7 9 +- + + + 3 5 7 9 11 Use for
Write a program to sum the following series: 1 3 5 7 9 +- + + + 3 5 7 9 11 Use for loop. Round the sum to three decimal places. Here is sample run: sum is 45.124 ... + 95 97 97 +
Step by Step Solution
3.45 Rating (155 Votes )
There are 3 Steps involved in it
mainpy 1 Initialize variables totalsum 0 4557234 Loop throug... View full answer
Get step-by-step solutions from verified subject matter experts
