If Else if statement problem
이전 댓글 표시
Write a program that takes the grades of several students as a vector and Do the following(the grade should be between 0to 20): Use the “for”and conditional commands end-else-if to check each grade and change them as follows: Change scores less than 5 to 9 Change scores between 5 and 8 to 9.5. Change scores between 8 and 10 to 10. Increase scores between 10 and 15 by 1 score To increase scores more than 15 and less than 20 by 0.5 points.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!