Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This challenge activity uses a 3rd party app. Though your activity may be record

ID: 3938120 • Letter: T

Question

This challenge activity uses a 3rd party app. Though your activity may be recorded, a refresh may be required to update the banner to the left. Write a while loop that assigns summed Value with the sum of all values from 1 to user Num. Assume user Num is always greater than or equal to 1. Ex: If user Num is 5. then summed Value is 15 (i.e. 1 +2 + 3 + 4 + 5 = 15) function summed Value = Summation With Loop(user Num) % Summation of all values from 1 to user Num summed Value = theta; I = 1; % Write a while loop that assigns summed Value with the % sum of all values from 1 to user Num

Explanation / Answer

i=i+1; % increment i