This challenge activity uses a 3rd party app Though your act
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;
Solution
function userValue = AdjustValue(userValue)
while(userValue!=10 && userValue < 25)
userValue=userValue*2
end
end
