Help me do a big while function
조회 수: 17 (최근 30일)
이전 댓글 표시
Prompt the user to enter a value for height in inches (59-78). Enter zero to end.
While height not equal to zero process BMI information
Prompt the user to enter a value for weight in pounds (90-350).
For example, when run the program, it asks me to input the height in the range above. If I enter 0, the program stop. If not zero, it will start compute the bmi with the condition I created in a first part. My instructor said I have to do a big WhiLE, BUT i DON'T KNOW HOW TO DO IT. pLEASE HELP ME. tHANKS.
댓글 수: 2
Sean de Wolski
2013년 2월 28일
As opposed to a little while?
I typically tell me wife I'll be home in a little while; I suppose she probably interprets this as a big while.
답변 (2개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Dates and Time에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!