Question: C programming Please use double Write a for loop to find the sum of the values in the series 4, 8.5, 13, 17.5, ..., 121
Write a for loop to find the sum of the values in the series 4, 8.5, 13, 17.5, ..., 121 The final result should be stored in a variable called sum. Rewrite as a while loop. (Declare all the variables that will be used for the for-loop and for the while loop, don't use arrays) for loop while loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
