Loop and sum, pls help!!!!

how can i cfreate a loop to read in 5 random numbers given by the users and then calculate the sum of that 5 numbers? also how can i use abs () function for this question as well?
thanks in advance!

Respuestas (1)

Walter Roberson
Walter Roberson el 10 de Mzo. de 2022
Editada: Walter Roberson el 10 de Mzo. de 2022

0 votos

help for
help input
help sum
help abs

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 9 de Mzo. de 2022

Editada:

el 10 de Mzo. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by