If Else if statement problem
Mostrar comentarios más antiguos
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.
1 comentario
Maya
el 29 de Abr. de 2024
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Problem-Based Optimization Setup en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!