Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
While loop to convert values
조회 수: 1 (최근 30일)
이전 댓글 표시
I need a while loop that will take a score and set it to 0 if it less or equal than 200
score = input('What was the UPDRS score (0 to 300): ')
while score <= 200
score = 0;
end
disp(score)
My while loop is not working, how can I improve it?
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!