A good answer might be:w is 25.0 x is 1.0 | |
Practice ProgramOur goal is to write a program that computes the following sum: (This may look like a pointless thing to do, but you will see such sums in calculus, where they are called harmonic series.) Here is a skeleton of the program:sum = 1/1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6
A few notes on the program:
| |
QUESTION 10:Fill in the two blanks to complete the program. (This situation is very common in programming and it would be very good practice for you to think about this question before going on.) Click Here after you have answered the question |