How do i write algorithms
Mostrar comentarios más antiguos
Develop M-file that can do followings
- Ask you starting and final number to add up (e.g., ni=0, nf=300)
- Display the total of the numbers (e.g., sum=0+1+2+....+300)
1 comentario
Walter Roberson
el 29 de Abr. de 2019
- disp()
- for
- input()
- plus()
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre File Operations 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!