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: 3938119 • 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. While loop with multiple conditions Write a while loop that multiplies user Value by 2 while all of the following conditions are true: user Value is not 10 user Value is less than 25 function user Value = Adjust Value(user Value) % Write a while loop that multiplies user Value by 2 % while user Value is not 1G and while user Value is less than 25 user Value = theta;

Explanation / Answer

function userValue = AdjustValue(userValue)

while(userValue!=10 && userValue < 25)

userValue=userValue*2

end

end